Lua - event.onmemoryexec() - add support for the A2600 core

This commit is contained in:
adelikat 2013-11-12 16:11:29 +00:00
parent 97bedb7190
commit cd7435d11f
1 changed files with 6 additions and 1 deletions

View File

@ -132,6 +132,11 @@ namespace BizHawk
CoreComm.MemoryCallbackSystem.CallWrite((uint)addr);
}
public void ExecFetch(ushort addr)
{
CoreComm.MemoryCallbackSystem.CallExecute(addr);
}
public void HardReset()
{
//regenerate mapper here to make sure its state is entirely clean
@ -174,7 +179,7 @@ namespace BizHawk
cpu.WriteMemory = WriteMemory;
cpu.PeekMemory = PeekMemory;
cpu.DummyReadMemory = ReadMemory;
cpu.OnExecFetch = ExecFetch;
// Setup TIA
//tia = new TIA(this, frameBuffer);
tia = new TIA(this);