misc: chore: Use explicit types in HLE project

This commit is contained in:
Evan Husted
2025-01-25 14:13:18 -06:00
parent 58c1ab7989
commit 5eba42fa06
80 changed files with 410 additions and 397 deletions

View File

@@ -70,14 +70,14 @@ namespace Ryujinx.HLE.HOS
public void EnableCheats(string[] enabledCheats)
{
foreach (var program in _programDictionary.Values)
foreach (ITamperProgram program in _programDictionary.Values)
{
program.IsEnabled = false;
}
foreach (var cheat in enabledCheats)
foreach (string cheat in enabledCheats)
{
if (_programDictionary.TryGetValue(cheat, out var program))
if (_programDictionary.TryGetValue(cheat, out ITamperProgram program))
{
program.IsEnabled = true;
}