Lua - event.onmemoryexec() - add support for the A2600 core
This commit is contained in:
parent
97bedb7190
commit
cd7435d11f
|
@ -132,6 +132,11 @@ namespace BizHawk
|
||||||
CoreComm.MemoryCallbackSystem.CallWrite((uint)addr);
|
CoreComm.MemoryCallbackSystem.CallWrite((uint)addr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void ExecFetch(ushort addr)
|
||||||
|
{
|
||||||
|
CoreComm.MemoryCallbackSystem.CallExecute(addr);
|
||||||
|
}
|
||||||
|
|
||||||
public void HardReset()
|
public void HardReset()
|
||||||
{
|
{
|
||||||
//regenerate mapper here to make sure its state is entirely clean
|
//regenerate mapper here to make sure its state is entirely clean
|
||||||
|
@ -174,7 +179,7 @@ namespace BizHawk
|
||||||
cpu.WriteMemory = WriteMemory;
|
cpu.WriteMemory = WriteMemory;
|
||||||
cpu.PeekMemory = PeekMemory;
|
cpu.PeekMemory = PeekMemory;
|
||||||
cpu.DummyReadMemory = ReadMemory;
|
cpu.DummyReadMemory = ReadMemory;
|
||||||
|
cpu.OnExecFetch = ExecFetch;
|
||||||
// Setup TIA
|
// Setup TIA
|
||||||
//tia = new TIA(this, frameBuffer);
|
//tia = new TIA(this, frameBuffer);
|
||||||
tia = new TIA(this);
|
tia = new TIA(this);
|
||||||
|
|
Loading…
Reference in New Issue