diff --git a/BizHawk.Emulation.Common/BizHawk.Emulation.Common.csproj b/BizHawk.Emulation.Common/BizHawk.Emulation.Common.csproj index dd5050a0f8..49205b8875 100644 --- a/BizHawk.Emulation.Common/BizHawk.Emulation.Common.csproj +++ b/BizHawk.Emulation.Common/BizHawk.Emulation.Common.csproj @@ -61,6 +61,7 @@ + diff --git a/BizHawk.Emulation.Common/Interfaces/IDebuggable.cs b/BizHawk.Emulation.Common/Interfaces/IDebuggable.cs new file mode 100644 index 0000000000..d9ce1cdf88 --- /dev/null +++ b/BizHawk.Emulation.Common/Interfaces/IDebuggable.cs @@ -0,0 +1,20 @@ +using System.Collections.Generic; + +namespace BizHawk.Emulation.Common +{ + public interface IDebuggable : IEmulator + { + /// + /// Returns a list of Cpu registers and their current state + /// + /// + Dictionary GetCpuFlagsAndRegisters(); + + /// + /// Sets a given Cpu register to the given value + /// + /// + /// + void SetCpuRegister(string register, int value); + } +} diff --git a/BizHawk.Emulation.Common/Interfaces/IEmulator.cs b/BizHawk.Emulation.Common/Interfaces/IEmulator.cs index 88218a53b5..3bc1da923f 100644 --- a/BizHawk.Emulation.Common/Interfaces/IEmulator.cs +++ b/BizHawk.Emulation.Common/Interfaces/IEmulator.cs @@ -128,21 +128,5 @@ namespace BizHawk.Emulation.Common CoreComm CoreComm { get; } } - public interface IDebuggable : IEmulator - { - /// - /// Returns a list of Cpu registers and their current state - /// - /// - Dictionary GetCpuFlagsAndRegisters(); - - /// - /// Sets a given Cpu register to the given value - /// - /// - /// - void SetCpuRegister(string register, int value); - } - public enum DisplayType { NTSC, PAL, DENDY } }