Nes.Core now updates the DataBus in WriteMemory() (#3633)
* Nes.Core now updates the DataBus in WriteMemory() This will fix open bus execution following write instructions. * Properly formatted changes in previous commit I have addressed the requested changes.
This commit is contained in:
parent
52276f7d47
commit
85a481f93f
|
@ -1149,6 +1149,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
||||||
uint flags = (uint)(MemoryCallbackFlags.CPUZero | MemoryCallbackFlags.AccessWrite | MemoryCallbackFlags.SizeByte);
|
uint flags = (uint)(MemoryCallbackFlags.CPUZero | MemoryCallbackFlags.AccessWrite | MemoryCallbackFlags.SizeByte);
|
||||||
MemoryCallbacks.CallMemoryCallbacks(addr, value, flags, "System Bus");
|
MemoryCallbacks.CallMemoryCallbacks(addr, value, flags, "System Bus");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DB = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
// the palette for each VS game needs to be chosen explicitly since there are 6 different ones.
|
// the palette for each VS game needs to be chosen explicitly since there are 6 different ones.
|
||||||
|
|
Loading…
Reference in New Issue