Revert "SubNESHawk: Fix memorydomain callbacks i think"

This reverts commit c29c3f0391.
This commit is contained in:
alyosha-tas 2019-06-28 16:00:45 -04:00
parent c29c3f0391
commit c887f7ca15
2 changed files with 230 additions and 224 deletions

View File

@ -61,7 +61,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.SubNESHawk
return false;
}
public IMemoryCallbackSystem MemoryCallbacks => subnes.MemoryCallbacks;
public IMemoryCallbackSystem MemoryCallbacks { get; private set; }
[FeatureNotImplemented]
public void Step(StepType type) { throw new NotImplementedException(); }

View File

@ -71,6 +71,12 @@ namespace BizHawk.Emulation.Cores.Nintendo.SubNESHawk
private readonly ITraceable _tracer;
private void ExecFetch(ushort addr)
{
uint flags = (uint)(MemoryCallbackFlags.AccessExecute);
MemoryCallbacks.CallMemoryCallbacks(addr, 0, flags, "System Bus");
}
#region ISettable
private NES.NES.NESSettings subnesSettings = new NES.NES.NESSettings();
public NES.NES.NESSyncSettings subnesSyncSettings = new NES.NES.NESSyncSettings();