From a227e7d113aced560976693f28d4d215c9d59eec Mon Sep 17 00:00:00 2001 From: James Groom Date: Sat, 18 Nov 2023 03:44:36 +1000 Subject: [PATCH] Fix typos fixes b36f4aa4e and ed5a708f9 --- src/BizHawk.Client.Common/CoreFileProvider.cs | 2 +- .../Nintendo/GBHawkLink/GBHawkLink.IDebuggable.cs | 4 ++-- .../Nintendo/GBHawkLink3x/GBHawkLink3x.IDebuggable.cs | 6 +++--- .../Nintendo/GBHawkLink4x/GBHawkLink4x.IDebuggable.cs | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/BizHawk.Client.Common/CoreFileProvider.cs b/src/BizHawk.Client.Common/CoreFileProvider.cs index c9b9e200eb..ab117de395 100644 --- a/src/BizHawk.Client.Common/CoreFileProvider.cs +++ b/src/BizHawk.Client.Common/CoreFileProvider.cs @@ -1,8 +1,8 @@ #nullable enable using System.Collections.Generic; +using System.IO; -using BizHawk.Common.PathExtensions; using BizHawk.Emulation.Common; namespace BizHawk.Client.Common diff --git a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawkLink/GBHawkLink.IDebuggable.cs b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawkLink/GBHawkLink.IDebuggable.cs index 80d0a335ea..ca6e0bd755 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawkLink/GBHawkLink.IDebuggable.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawkLink/GBHawkLink.IDebuggable.cs @@ -15,8 +15,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawkLink public IDictionary GetCpuFlagsAndRegisters() { Dictionary dict = new(); - foreach (var ref in L.GetCpuFlagsAndRegisters()) dict[PFX_L + reg.Key] = reg.Value; - foreach (var ref in R.GetCpuFlagsAndRegisters()) dict[PFX_R + reg.Key] = reg.Value; + foreach (var reg in L.GetCpuFlagsAndRegisters()) dict[PFX_L + reg.Key] = reg.Value; + foreach (var reg in R.GetCpuFlagsAndRegisters()) dict[PFX_R + reg.Key] = reg.Value; return dict; } diff --git a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawkLink3x/GBHawkLink3x.IDebuggable.cs b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawkLink3x/GBHawkLink3x.IDebuggable.cs index 7ac2bdf049..acb4770f21 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawkLink3x/GBHawkLink3x.IDebuggable.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawkLink3x/GBHawkLink3x.IDebuggable.cs @@ -17,9 +17,9 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawkLink3x public IDictionary GetCpuFlagsAndRegisters() { Dictionary dict = new(); - foreach (var ref in L.GetCpuFlagsAndRegisters()) dict[PFX_L + reg.Key] = reg.Value; - foreach (var ref in C.GetCpuFlagsAndRegisters()) dict[PFX_C + reg.Key] = reg.Value; - foreach (var ref in R.GetCpuFlagsAndRegisters()) dict[PFX_R + reg.Key] = reg.Value; + foreach (var reg in L.GetCpuFlagsAndRegisters()) dict[PFX_L + reg.Key] = reg.Value; + foreach (var reg in C.GetCpuFlagsAndRegisters()) dict[PFX_C + reg.Key] = reg.Value; + foreach (var reg in R.GetCpuFlagsAndRegisters()) dict[PFX_R + reg.Key] = reg.Value; return dict; } diff --git a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawkLink4x/GBHawkLink4x.IDebuggable.cs b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawkLink4x/GBHawkLink4x.IDebuggable.cs index bd093f37fa..79e6aa23c1 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawkLink4x/GBHawkLink4x.IDebuggable.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawkLink4x/GBHawkLink4x.IDebuggable.cs @@ -19,10 +19,10 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawkLink4x public IDictionary GetCpuFlagsAndRegisters() { Dictionary dict = new(); - foreach (var ref in A.GetCpuFlagsAndRegisters()) dict[PFX_A + reg.Key] = reg.Value; - foreach (var ref in B.GetCpuFlagsAndRegisters()) dict[PFX_B + reg.Key] = reg.Value; - foreach (var ref in C.GetCpuFlagsAndRegisters()) dict[PFX_C + reg.Key] = reg.Value; - foreach (var ref in D.GetCpuFlagsAndRegisters()) dict[PFX_D + reg.Key] = reg.Value; + foreach (var reg in A.GetCpuFlagsAndRegisters()) dict[PFX_A + reg.Key] = reg.Value; + foreach (var reg in B.GetCpuFlagsAndRegisters()) dict[PFX_B + reg.Key] = reg.Value; + foreach (var reg in C.GetCpuFlagsAndRegisters()) dict[PFX_C + reg.Key] = reg.Value; + foreach (var reg in D.GetCpuFlagsAndRegisters()) dict[PFX_D + reg.Key] = reg.Value; return dict; }