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:
100thCoin 2023-04-15 14:24:27 -04:00 committed by GitHub
parent 52276f7d47
commit 85a481f93f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1149,6 +1149,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
uint flags = (uint)(MemoryCallbackFlags.CPUZero | MemoryCallbackFlags.AccessWrite | MemoryCallbackFlags.SizeByte);
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.