SubNESHawk: Fix memory domain callback i think

This commit is contained in:
alyosha-tas 2019-06-28 16:03:11 -04:00
parent 8df015cb0a
commit 38d5fea8ee
2 changed files with 224 additions and 230 deletions

View File

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

View File

@ -71,12 +71,6 @@ 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();