Refactor IDebuggable StepInto/Over/Out methods into void Step(StepType type);
This commit is contained in:
parent
00cd8573da
commit
d08fb39cb8
|
@ -22,8 +22,12 @@ namespace BizHawk.Emulation.Common
|
|||
IMemoryCallbackSystem MemoryCallbacks { get; }
|
||||
|
||||
// Advanced Navigation
|
||||
void StepInto();
|
||||
void StepOut();
|
||||
void StepOver();
|
||||
//void StepInto();
|
||||
//void StepOut();
|
||||
//void StepOver();
|
||||
|
||||
void Step(StepType type);
|
||||
}
|
||||
|
||||
public enum StepType { Into, Out, Over }
|
||||
}
|
||||
|
|
|
@ -129,12 +129,6 @@ namespace BizHawk.Emulation.Cores.Calculators
|
|||
public IMemoryCallbackSystem MemoryCallbacks { get; private set; }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
public void Step(StepType type) { throw new NotImplementedException(); }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -128,13 +128,7 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64
|
|||
}
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
public void Step(StepType type) { throw new NotImplementedException(); }
|
||||
|
||||
public ITracer Tracer
|
||||
{
|
||||
|
|
|
@ -61,12 +61,6 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
|||
public IMemoryCallbackSystem MemoryCallbacks { get; private set; }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
public void Step(StepType type) { throw new NotImplementedException(); }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -67,12 +67,6 @@ namespace BizHawk.Emulation.Cores.Atari.Atari7800
|
|||
}
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
public void Step(StepType type) { throw new NotImplementedException(); }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -134,12 +134,6 @@ namespace BizHawk.Emulation.Cores.ColecoVision
|
|||
}
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
public void Step(StepType type) { throw new NotImplementedException(); }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,13 +28,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBA
|
|||
}
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
public void Step(StepType type) { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void SetCpuRegister(string register, int value)
|
||||
|
|
|
@ -422,13 +422,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBA
|
|||
}
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
public void Step(StepType type) { throw new NotImplementedException(); }
|
||||
|
||||
#endregion
|
||||
|
||||
|
|
|
@ -290,13 +290,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
|
|||
}
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
public void Step(StepType type) { throw new NotImplementedException(); }
|
||||
|
||||
#endregion
|
||||
|
||||
|
|
|
@ -448,9 +448,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
|
|||
MemoryDomains = new MemoryDomainList(mm);
|
||||
}
|
||||
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
[FeatureNotImplemented]
|
||||
public void Step(StepType type) { throw new NotImplementedException(); }
|
||||
|
||||
#endregion
|
||||
|
||||
|
|
|
@ -72,13 +72,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.N64
|
|||
public IMemoryCallbackSystem MemoryCallbacks { get; private set; }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
public void Step(StepType type) { throw new NotImplementedException(); }
|
||||
|
||||
private mupen64plusApi.MemoryCallback _readcb;
|
||||
private mupen64plusApi.MemoryCallback _writecb;
|
||||
|
|
|
@ -943,13 +943,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
}
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
public void Step(StepType type) { throw new NotImplementedException(); }
|
||||
|
||||
public ITracer Tracer { get; private set; }
|
||||
public IMemoryCallbackSystem MemoryCallbacks { get; private set; }
|
||||
|
|
|
@ -395,13 +395,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.QuickNES
|
|||
}
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
public void Step(StepType type) { throw new NotImplementedException(); }
|
||||
|
||||
public ITracer Tracer
|
||||
{
|
||||
|
|
|
@ -255,13 +255,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.SNES
|
|||
public IMemoryCallbackSystem MemoryCallbacks { get; private set; }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
public void Step(StepType type) { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void SetCpuRegister(string register, int value)
|
||||
|
|
|
@ -566,13 +566,7 @@ namespace BizHawk.Emulation.Cores.PCEngine
|
|||
}
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
public void Step(StepType type) { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void SetCpuRegister(string register, int value)
|
||||
|
|
|
@ -293,13 +293,7 @@ namespace BizHawk.Emulation.Cores.Sega.Genesis
|
|||
}
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
public void Step(StepType type) { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void SetCpuRegister(string register, int value)
|
||||
|
|
|
@ -601,13 +601,7 @@ namespace BizHawk.Emulation.Cores.Sega.MasterSystem
|
|||
}
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
public void Step(StepType type) { throw new NotImplementedException(); }
|
||||
|
||||
public void Dispose() { }
|
||||
|
||||
|
|
|
@ -644,13 +644,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
|
|||
}
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
public void Step(StepType type) { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void SetCpuRegister(string register, int value)
|
||||
|
|
|
@ -765,11 +765,7 @@ namespace BizHawk.Emulation.Cores.Sony.PSX
|
|||
public IMemoryCallbackSystem MemoryCallbacks { get { throw new NotImplementedException(); } }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
public void Step(StepType type) { throw new NotImplementedException(); }
|
||||
|
||||
#endregion //IDebuggable
|
||||
}
|
||||
|
|
|
@ -349,13 +349,7 @@ namespace BizHawk.Emulation.Cores.WonderSwan
|
|||
}
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
public void Step(StepType type) { throw new NotImplementedException(); }
|
||||
|
||||
BizSwan.MemoryCallback ReadCallbackD;
|
||||
BizSwan.MemoryCallback WriteCallbackD;
|
||||
|
|
Loading…
Reference in New Issue