Backport Update open bus on writes

This commit is contained in:
vailkyte 2023-05-18 07:48:22 -05:00 committed by GitHub
parent 09f984b03b
commit dfd9cea418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,6 +131,7 @@ uint8_t MemoryManager::Read(uint16_t addr, MemoryOperationType operationType)
void MemoryManager::Write(uint16_t addr, uint8_t value, MemoryOperationType operationType) void MemoryManager::Write(uint16_t addr, uint8_t value, MemoryOperationType operationType)
{ {
_ramWriteHandlers[addr]->WriteRAM(addr, value); _ramWriteHandlers[addr]->WriteRAM(addr, value);
_openBusHandler.SetOpenBus(value);
} }
void MemoryManager::DebugWrite(uint16_t addr, uint8_t value, bool disableSideEffects) void MemoryManager::DebugWrite(uint16_t addr, uint8_t value, bool disableSideEffects)