fix N64 memory callbacks
This commit is contained in:
parent
a57d09fe99
commit
1fd620a1f4
|
@ -77,9 +77,9 @@ namespace BizHawk.Emulation.Cores.Nintendo.N64
|
|||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public IMemoryCallbackSystem MemoryCallbacks { get; }
|
||||
public IMemoryCallbackSystem MemoryCallbacks => _memoryCallbacks;
|
||||
|
||||
private readonly MemoryCallbackSystem _memorycallbacks = new MemoryCallbackSystem(new[] { "System Bus" });
|
||||
private readonly MemoryCallbackSystem _memoryCallbacks = new MemoryCallbackSystem(new[] { "System Bus" });
|
||||
|
||||
public bool CanStep(StepType type)
|
||||
{
|
||||
|
|
|
@ -30,8 +30,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.N64
|
|||
ServiceProvider = new BasicServiceProvider(this);
|
||||
InputCallbacks = new InputCallbackSystem();
|
||||
|
||||
_memorycallbacks.CallbackAdded += AddBreakpoint;
|
||||
_memorycallbacks.CallbackRemoved += RemoveBreakpoint;
|
||||
_memoryCallbacks.CallbackAdded += AddBreakpoint;
|
||||
_memoryCallbacks.CallbackRemoved += RemoveBreakpoint;
|
||||
|
||||
int SaveType = 0;
|
||||
if (game.OptionValue("SaveType") == "EEPROM_16K")
|
||||
|
|
Loading…
Reference in New Issue