diff --git a/BizHawk.Emulation.Common/Interfaces/Base Implementations/NullEmulator.cs b/BizHawk.Emulation.Common/Interfaces/Base Implementations/NullEmulator.cs index c4982ba049..d7113d596d 100644 --- a/BizHawk.Emulation.Common/Interfaces/Base Implementations/NullEmulator.cs +++ b/BizHawk.Emulation.Common/Interfaces/Base Implementations/NullEmulator.cs @@ -86,13 +86,6 @@ namespace BizHawk.Emulation.Common public void Dispose() { } - public Dictionary GetCpuFlagsAndRegisters() - { - return new Dictionary(); - } - - public void SetCpuRegister(string register, int value) { } - bool xmas; Pleg pleg; diff --git a/BizHawk.Emulation.Cores/Calculator/TI83.cs b/BizHawk.Emulation.Cores/Calculator/TI83.cs index 7f51fd2f0e..e5c02d7a37 100644 --- a/BizHawk.Emulation.Cores/Calculator/TI83.cs +++ b/BizHawk.Emulation.Cores/Calculator/TI83.cs @@ -19,7 +19,7 @@ namespace BizHawk.Emulation.Cores.Calculators isPorted: false, isReleased: true )] - public class TI83 : IEmulator, IMemoryDomains + public class TI83 : IEmulator, IMemoryDomains, IDebuggable { //hardware private readonly Z80A cpu = new Z80A(); diff --git a/BizHawk.Emulation.Cores/Computers/Commodore64/C64.Core.cs b/BizHawk.Emulation.Cores/Computers/Commodore64/C64.Core.cs index f36de5e7ce..49987dd83e 100644 --- a/BizHawk.Emulation.Cores/Computers/Commodore64/C64.Core.cs +++ b/BizHawk.Emulation.Cores/Computers/Commodore64/C64.Core.cs @@ -12,7 +12,7 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64 PAL } - sealed public partial class C64 : IEmulator + sealed public partial class C64 : IEmulator, IDebuggable { private Motherboard board; private bool loadPrg; diff --git a/BizHawk.Emulation.Cores/Consoles/Atari/2600/Atari2600.cs b/BizHawk.Emulation.Cores/Consoles/Atari/2600/Atari2600.cs index cadcb4fc3b..fae4511dae 100644 --- a/BizHawk.Emulation.Cores/Consoles/Atari/2600/Atari2600.cs +++ b/BizHawk.Emulation.Cores/Consoles/Atari/2600/Atari2600.cs @@ -15,7 +15,7 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600 isPorted: false, isReleased: true )] - public partial class Atari2600 : IEmulator, IMemoryDomains + public partial class Atari2600 : IEmulator, IMemoryDomains, IDebuggable { private readonly GameInfo _game; private bool _islag = true; diff --git a/BizHawk.Emulation.Cores/Consoles/Atari/7800/Atari7800.cs b/BizHawk.Emulation.Cores/Consoles/Atari/7800/Atari7800.cs index e5f60bbf89..5da7405be6 100644 --- a/BizHawk.Emulation.Cores/Consoles/Atari/7800/Atari7800.cs +++ b/BizHawk.Emulation.Cores/Consoles/Atari/7800/Atari7800.cs @@ -16,7 +16,7 @@ namespace BizHawk.Emulation.Cores.Atari.Atari7800 portedVersion: "v1.5", portedUrl: "http://emu7800.sourceforge.net/" )] - public partial class Atari7800 : IEmulator, IMemoryDomains + public partial class Atari7800 : IEmulator, IMemoryDomains, IDebuggable { // TODO: // some things don't work when you try to plug in a 2600 game diff --git a/BizHawk.Emulation.Cores/Consoles/Atari/lynx/Lynx.cs b/BizHawk.Emulation.Cores/Consoles/Atari/lynx/Lynx.cs index 962aea6f78..0bb03edc2f 100644 --- a/BizHawk.Emulation.Cores/Consoles/Atari/lynx/Lynx.cs +++ b/BizHawk.Emulation.Cores/Consoles/Atari/lynx/Lynx.cs @@ -163,15 +163,6 @@ namespace BizHawk.Emulation.Cores.Atari.Lynx #region debugging - public Dictionary GetCpuFlagsAndRegisters() - { - return new Dictionary(); - } - - public void SetCpuRegister(string register, int value) - { - } - #endregion #region Controller diff --git a/BizHawk.Emulation.Cores/Consoles/Coleco/ColecoVision.cs b/BizHawk.Emulation.Cores/Consoles/Coleco/ColecoVision.cs index 90e2b072f2..4ab4ebb300 100644 --- a/BizHawk.Emulation.Cores/Consoles/Coleco/ColecoVision.cs +++ b/BizHawk.Emulation.Cores/Consoles/Coleco/ColecoVision.cs @@ -17,7 +17,7 @@ namespace BizHawk.Emulation.Cores.ColecoVision isPorted: false, isReleased: true )] - public sealed partial class ColecoVision : IEmulator, IMemoryDomains + public sealed partial class ColecoVision : IEmulator, IMemoryDomains, IDebuggable { // ROM public byte[] RomData; diff --git a/BizHawk.Emulation.Cores/Consoles/Intellivision/Intellivision.cs b/BizHawk.Emulation.Cores/Consoles/Intellivision/Intellivision.cs index 14e19fd572..31348ff31f 100644 --- a/BizHawk.Emulation.Cores/Consoles/Intellivision/Intellivision.cs +++ b/BizHawk.Emulation.Cores/Consoles/Intellivision/Intellivision.cs @@ -23,16 +23,6 @@ namespace BizHawk.Emulation.Cores.Intellivision STIC Stic; PSG Psg; - public Dictionary GetCpuFlagsAndRegisters() - { - throw new NotImplementedException(); - } - - public void SetCpuRegister(string register, int value) - { - throw new NotImplementedException(); - } - public void Connect() { Cpu.SetIntRM(Stic.GetSr1()); diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/GBA/Meteor.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/GBA/Meteor.cs index f917dd0983..8ecf38d6de 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/GBA/Meteor.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/GBA/Meteor.cs @@ -14,7 +14,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBA isPorted: true, isReleased: false )] - public class GBA : IEmulator, IVideoProvider, ISyncSoundProvider, IGBAGPUViewable, IMemoryDomains + public class GBA : IEmulator, IVideoProvider, ISyncSoundProvider, IGBAGPUViewable, IMemoryDomains, IDebuggable { public Dictionary GetCpuFlagsAndRegisters() { diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/GBA/VBANext.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/GBA/VBANext.cs index baf6457ccd..e7bfe8b897 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/GBA/VBANext.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/GBA/VBANext.cs @@ -14,7 +14,7 @@ using BizHawk.Common; namespace BizHawk.Emulation.Cores.Nintendo.GBA { [CoreAttributes("VBA-Next", "many authors", true, true, "cd508312a29ed8c29dacac1b11c2dce56c338a54", "https://github.com/libretro/vba-next")] - public class VBANext : IEmulator, IVideoProvider, ISyncSoundProvider, IGBAGPUViewable, IMemoryDomains + public class VBANext : IEmulator, IVideoProvider, ISyncSoundProvider, IGBAGPUViewable, IMemoryDomains, IDebuggable { IntPtr Core; diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/Gambatte.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/Gambatte.cs index 73348dd5e8..1eb654d8e0 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/Gambatte.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/Gambatte.cs @@ -22,7 +22,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy portedVersion: "SVN 344", portedUrl: "http://gambatte.sourceforge.net/" )] - public class Gameboy : IEmulator, IVideoProvider, ISyncSoundProvider, IMemoryDomains + public class Gameboy : IEmulator, IVideoProvider, ISyncSoundProvider, IMemoryDomains, IDebuggable { #region ALL SAVESTATEABLE STATE GOES HERE diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/GambatteLink.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/GambatteLink.cs index 627dbb526c..b9fd176f48 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/GambatteLink.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/GambatteLink.cs @@ -17,7 +17,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy isPorted: true, isReleased: true )] - public class GambatteLink : IEmulator, IVideoProvider, ISyncSoundProvider + public class GambatteLink : IEmulator, IVideoProvider, ISyncSoundProvider, IDebuggable { bool disposed = false; diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.cs index bde3ff0a0e..e2e849b5e5 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.cs @@ -17,7 +17,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.N64 portedVersion: "2.0", portedUrl: "https://code.google.com/p/mupen64plus/" )] - public partial class N64 : IEmulator, IMemoryDomains + public partial class N64 : IEmulator, IMemoryDomains, IDebuggable { private readonly N64Input _inputProvider; private readonly N64VideoProvider _videoProvider; diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/NES.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/NES.cs index 3f571ec56a..0925c8ba3e 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/NES.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/NES.cs @@ -17,7 +17,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES isPorted: false, isReleased: true )] - public partial class NES : IEmulator, IMemoryDomains + public partial class NES : IEmulator, IMemoryDomains, IDebuggable { static readonly bool USE_DATABASE = true; public RomStatus RomStatus; diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/QuickNES/QuickNES.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/QuickNES/QuickNES.cs index fc995d4846..76d3d46d85 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/QuickNES/QuickNES.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/QuickNES/QuickNES.cs @@ -21,7 +21,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.QuickNES portedVersion: "0.7.0", portedUrl: "https://github.com/kode54/QuickNES" )] - public class QuickNES : IEmulator, IVideoProvider, ISyncSoundProvider, IMemoryDomains + public class QuickNES : IEmulator, IVideoProvider, ISyncSoundProvider, IMemoryDomains, IDebuggable { #region FPU precision diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.cs index c84f16a803..7a0e914b71 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.cs @@ -66,7 +66,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.SNES portedVersion: "v87", portedUrl: "http://byuu.org/" )] - public unsafe class LibsnesCore : IEmulator, IVideoProvider, IMemoryDomains + public unsafe class LibsnesCore : IEmulator, IVideoProvider, IMemoryDomains, IDebuggable { public bool IsSGB { get; private set; } diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES9X/Snes9x.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES9X/Snes9x.cs index a67859ce79..7f73e91588 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES9X/Snes9x.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES9X/Snes9x.cs @@ -124,16 +124,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.SNES9X get { throw new NotImplementedException(); } } - public Dictionary GetCpuFlagsAndRegisters() - { - throw new NotImplementedException(); - } - - public void SetCpuRegister(string register, int value) - { - throw new NotImplementedException(); - } - #endregion #region settings diff --git a/BizHawk.Emulation.Cores/Consoles/PC Engine/PCEngine.cs b/BizHawk.Emulation.Cores/Consoles/PC Engine/PCEngine.cs index 361bdd74b8..85161c731b 100644 --- a/BizHawk.Emulation.Cores/Consoles/PC Engine/PCEngine.cs +++ b/BizHawk.Emulation.Cores/Consoles/PC Engine/PCEngine.cs @@ -22,7 +22,7 @@ namespace BizHawk.Emulation.Cores.PCEngine isPorted: false, isReleased: true )] - public sealed partial class PCEngine : IEmulator, IMemoryDomains + public sealed partial class PCEngine : IEmulator, IMemoryDomains, IDebuggable { // ROM public byte[] RomData; diff --git a/BizHawk.Emulation.Cores/Consoles/Sega/Genesis/Genesis.cs b/BizHawk.Emulation.Cores/Consoles/Sega/Genesis/Genesis.cs index 29da992a80..859e6af159 100644 --- a/BizHawk.Emulation.Cores/Consoles/Sega/Genesis/Genesis.cs +++ b/BizHawk.Emulation.Cores/Consoles/Sega/Genesis/Genesis.cs @@ -21,7 +21,7 @@ namespace BizHawk.Emulation.Cores.Sega.Genesis isPorted: false, isReleased: false )] - public sealed partial class Genesis : IEmulator, IMemoryDomains + public sealed partial class Genesis : IEmulator, IMemoryDomains, IDebuggable { private int _lagcount = 0; private bool lagged = true; diff --git a/BizHawk.Emulation.Cores/Consoles/Sega/SMS/SMS.cs b/BizHawk.Emulation.Cores/Consoles/Sega/SMS/SMS.cs index 73db593134..e7cd539e51 100644 --- a/BizHawk.Emulation.Cores/Consoles/Sega/SMS/SMS.cs +++ b/BizHawk.Emulation.Cores/Consoles/Sega/SMS/SMS.cs @@ -27,7 +27,7 @@ namespace BizHawk.Emulation.Cores.Sega.MasterSystem isPorted: false, isReleased: true )] - public sealed partial class SMS : IEmulator, IMemoryDomains + public sealed partial class SMS : IEmulator, IMemoryDomains, IDebuggable { // Constants public const int BankSize = 16384; diff --git a/BizHawk.Emulation.Cores/Consoles/Sega/Saturn/Yabause.cs b/BizHawk.Emulation.Cores/Consoles/Sega/Saturn/Yabause.cs index 1272508b5c..7bf3a6352e 100644 --- a/BizHawk.Emulation.Cores/Consoles/Sega/Saturn/Yabause.cs +++ b/BizHawk.Emulation.Cores/Consoles/Sega/Saturn/Yabause.cs @@ -162,16 +162,6 @@ namespace BizHawk.Emulation.Cores.Sega.Saturn public IController Controller { get; set; } - public Dictionary GetCpuFlagsAndRegisters() - { - throw new NotImplementedException(); - } - - public void SetCpuRegister(string register, int value) - { - throw new NotImplementedException(); - } - public bool GLMode { get; private set; } public void SetGLRes(int factor, int width, int height) diff --git a/BizHawk.Emulation.Cores/Consoles/Sega/gpgx/GPGX.cs b/BizHawk.Emulation.Cores/Consoles/Sega/gpgx/GPGX.cs index e42e639765..eb4d351572 100644 --- a/BizHawk.Emulation.Cores/Consoles/Sega/gpgx/GPGX.cs +++ b/BizHawk.Emulation.Cores/Consoles/Sega/gpgx/GPGX.cs @@ -24,7 +24,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx portedVersion: "r874", portedUrl: "https://code.google.com/p/genplus-gx/" )] - public class GPGX : IEmulator, ISyncSoundProvider, IVideoProvider, IMemoryDomains + public class GPGX : IEmulator, ISyncSoundProvider, IVideoProvider, IMemoryDomains, IDebuggable { static GPGX AttachedCore = null; diff --git a/BizHawk.Emulation.Cores/Consoles/Sony/PSP/PSP.cs b/BizHawk.Emulation.Cores/Consoles/Sony/PSP/PSP.cs index c92c7ae28b..e8c5b9b6b9 100644 --- a/BizHawk.Emulation.Cores/Consoles/Sony/PSP/PSP.cs +++ b/BizHawk.Emulation.Cores/Consoles/Sony/PSP/PSP.cs @@ -62,16 +62,6 @@ namespace BizHawk.Emulation.Cores.Sony.PSP } } - public Dictionary GetCpuFlagsAndRegisters() - { - throw new NotImplementedException(); - } - - public void SetCpuRegister(string register, int value) - { - throw new NotImplementedException(); - } - bool disposed = false; static PSP attachedcore = null; GCHandle vidhandle; diff --git a/BizHawk.Emulation.Cores/Consoles/Sony/PSX/Octoshock.cs b/BizHawk.Emulation.Cores/Consoles/Sony/PSX/Octoshock.cs index 3f5552aa4f..c3babbb126 100644 --- a/BizHawk.Emulation.Cores/Consoles/Sony/PSX/Octoshock.cs +++ b/BizHawk.Emulation.Cores/Consoles/Sony/PSX/Octoshock.cs @@ -31,16 +31,6 @@ namespace BizHawk.Emulation.Cores.Sony.PSX public bool StartAsyncSound() { return true; } public void EndAsyncSound() { } - public Dictionary GetCpuFlagsAndRegisters() - { - throw new NotImplementedException(); - } - - public void SetCpuRegister(string register, int value) - { - throw new NotImplementedException(); - } - public static bool CheckIsPSX(DiscSystem.Disc disc) { bool ret = false; diff --git a/BizHawk.Emulation.Cores/Consoles/WonderSwan/WonderSwan.cs b/BizHawk.Emulation.Cores/Consoles/WonderSwan/WonderSwan.cs index 824155b070..49e37027c1 100644 --- a/BizHawk.Emulation.Cores/Consoles/WonderSwan/WonderSwan.cs +++ b/BizHawk.Emulation.Cores/Consoles/WonderSwan/WonderSwan.cs @@ -12,7 +12,7 @@ using System.Runtime.InteropServices; namespace BizHawk.Emulation.Cores.WonderSwan { [CoreAttributes("Cygne/Mednafen", "Dox", true, true, "0.9.34.1", "http://mednafen.sourceforge.net/")] - public class WonderSwan : IEmulator, IVideoProvider, ISyncSoundProvider, IMemoryDomains + public class WonderSwan : IEmulator, IVideoProvider, ISyncSoundProvider, IMemoryDomains, IDebuggable { #region Controller diff --git a/BizHawk.Emulation.Cores/LibRetroEmulator.cs b/BizHawk.Emulation.Cores/LibRetroEmulator.cs index 66f17105c9..eb688d05a2 100644 --- a/BizHawk.Emulation.Cores/LibRetroEmulator.cs +++ b/BizHawk.Emulation.Cores/LibRetroEmulator.cs @@ -375,16 +375,6 @@ namespace BizHawk.Emulation.Cores public MemoryDomainList MemoryDomains { get; private set; } - public Dictionary GetCpuFlagsAndRegisters() - { - throw new NotImplementedException(); - } - - public void SetCpuRegister(string register, int value) - { - throw new NotImplementedException(); - } - #endregion public void Dispose()