Skip to content

Commit

Permalink
Debugger: GBA - Fixed missing OAM read/writes on event viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
SourMesen committed Mar 30, 2024
1 parent e4b3d9d commit d5e4968
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/GBA/Debugger/GbaDebugger.cpp
Expand Up @@ -176,7 +176,7 @@ void GbaDebugger::ProcessRead(uint32_t addr, uint32_t value, MemoryOperationType
_traceLogger->LogNonExec(operation, addressInfo);
}

if(addr >= 0x04000000 && addr <= 0x07000000) {
if(addr >= 0x04000000 && addr < 0x08000000) {
_eventManager->AddEvent(DebugEventType::Register, operation);
}

Expand Down Expand Up @@ -207,7 +207,7 @@ void GbaDebugger::ProcessWrite(uint32_t addr, uint32_t value, MemoryOperationTyp
_traceLogger->LogNonExec(operation, addressInfo);
}

if(addr >= 0x04000000 && addr <= 0x07000000) {
if(addr >= 0x04000000 && addr < 0x08000000) {
_eventManager->AddEvent(DebugEventType::Register, operation);
}

Expand Down

0 comments on commit d5e4968

Please sign in to comment.