Add StepInto(), StepOver(), StepOut() to IDebuggable, have all cores implement it with unimplemented dummy functions
This commit is contained in:
parent
a0ace2a7a2
commit
725a8fb092
|
@ -20,5 +20,10 @@ namespace BizHawk.Emulation.Common
|
|||
ITracer Tracer { get; }
|
||||
|
||||
IMemoryCallbackSystem MemoryCallbacks { get; }
|
||||
|
||||
// Advanced Navigation
|
||||
void StepInto();
|
||||
void StepOut();
|
||||
void StepOver();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -127,5 +127,14 @@ 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(); }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -127,6 +127,15 @@ 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 ITracer Tracer
|
||||
{
|
||||
[FeatureNotImplemented]
|
||||
|
|
|
@ -59,5 +59,14 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
|||
public ITracer Tracer { get; private set; }
|
||||
|
||||
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(); }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -65,5 +65,14 @@ namespace BizHawk.Emulation.Cores.Atari.Atari7800
|
|||
[FeatureNotImplemented]
|
||||
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(); }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -132,5 +132,14 @@ namespace BizHawk.Emulation.Cores.ColecoVision
|
|||
[FeatureNotImplemented]
|
||||
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(); }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,6 +27,15 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBA
|
|||
return ret;
|
||||
}
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void SetCpuRegister(string register, int value)
|
||||
{
|
||||
|
|
|
@ -421,6 +421,15 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBA
|
|||
regs.SetRegister(register, value);
|
||||
}
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
|
||||
#endregion
|
||||
|
||||
#region Settings
|
||||
|
|
|
@ -289,6 +289,15 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
|
|||
_inputCallbacks = ics;
|
||||
}
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
|
||||
#endregion
|
||||
|
||||
internal void FrameAdvancePrep()
|
||||
|
|
|
@ -448,6 +448,10 @@ 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(); }
|
||||
|
||||
#endregion
|
||||
|
||||
#region VideoProvider
|
||||
|
|
|
@ -71,6 +71,15 @@ 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(); }
|
||||
|
||||
private mupen64plusApi.MemoryCallback _readcb;
|
||||
private mupen64plusApi.MemoryCallback _writecb;
|
||||
|
||||
|
|
|
@ -942,6 +942,15 @@ 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 ITracer Tracer { get; private set; }
|
||||
public IMemoryCallbackSystem MemoryCallbacks { get; private set; }
|
||||
|
||||
|
|
|
@ -394,6 +394,15 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.QuickNES
|
|||
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 ITracer Tracer
|
||||
{
|
||||
[FeatureNotImplemented]
|
||||
|
|
|
@ -254,6 +254,15 @@ namespace BizHawk.Emulation.Cores.Nintendo.SNES
|
|||
public ITracer Tracer { get; private set; }
|
||||
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(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void SetCpuRegister(string register, int value)
|
||||
{
|
||||
|
|
|
@ -565,6 +565,15 @@ 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(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void SetCpuRegister(string register, int value)
|
||||
{
|
||||
|
|
|
@ -292,6 +292,15 @@ 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(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void SetCpuRegister(string register, int value)
|
||||
{
|
||||
|
|
|
@ -600,6 +600,15 @@ 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 Dispose() { }
|
||||
|
||||
public SMSSettings GetSettings() { return Settings.Clone(); }
|
||||
|
|
|
@ -643,6 +643,15 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
|
|||
return ret;
|
||||
}
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void SetCpuRegister(string register, int value)
|
||||
{
|
||||
|
|
|
@ -348,6 +348,15 @@ namespace BizHawk.Emulation.Cores.WonderSwan
|
|||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepInto() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOut() { throw new NotImplementedException(); }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public void StepOver() { throw new NotImplementedException(); }
|
||||
|
||||
BizSwan.MemoryCallback ReadCallbackD;
|
||||
BizSwan.MemoryCallback WriteCallbackD;
|
||||
BizSwan.MemoryCallback ExecCallbackD;
|
||||
|
|
Loading…
Reference in New Issue