Move IDebuggable to its own file, in anticipation of it having enough stuff to warrant it
This commit is contained in:
parent
e6e2972e3d
commit
133d690363
|
@ -61,6 +61,7 @@
|
|||
<Compile Include="Interfaces\CoreComms.cs" />
|
||||
<Compile Include="Interfaces\IController.cs" />
|
||||
<Compile Include="Interfaces\ICoreFileProvider.cs" />
|
||||
<Compile Include="Interfaces\IDebuggable.cs" />
|
||||
<Compile Include="Interfaces\IEmulator.cs" />
|
||||
<Compile Include="Interfaces\IMemoryDomains.cs" />
|
||||
<Compile Include="Interfaces\ISettable.cs" />
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace BizHawk.Emulation.Common
|
||||
{
|
||||
public interface IDebuggable : IEmulator
|
||||
{
|
||||
/// <summary>
|
||||
/// Returns a list of Cpu registers and their current state
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Dictionary<string, int> GetCpuFlagsAndRegisters();
|
||||
|
||||
/// <summary>
|
||||
/// Sets a given Cpu register to the given value
|
||||
/// </summary>
|
||||
/// <param name="register"></param>
|
||||
/// <param name="value"></param>
|
||||
void SetCpuRegister(string register, int value);
|
||||
}
|
||||
}
|
|
@ -128,21 +128,5 @@ namespace BizHawk.Emulation.Common
|
|||
CoreComm CoreComm { get; }
|
||||
}
|
||||
|
||||
public interface IDebuggable : IEmulator
|
||||
{
|
||||
/// <summary>
|
||||
/// Returns a list of Cpu registers and their current state
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Dictionary<string, int> GetCpuFlagsAndRegisters();
|
||||
|
||||
/// <summary>
|
||||
/// Sets a given Cpu register to the given value
|
||||
/// </summary>
|
||||
/// <param name="register"></param>
|
||||
/// <param name="value"></param>
|
||||
void SetCpuRegister(string register, int value);
|
||||
}
|
||||
|
||||
public enum DisplayType { NTSC, PAL, DENDY }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue