Skip to content

Commit

Permalink
n64: fix gdb causing MIPS exception on attach
Browse files Browse the repository at this point in the history
  • Loading branch information
rasky committed Jan 26, 2025
1 parent fa1c21b commit c8ddc5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ares/n64/system/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ auto System::initDebugHooks() -> void {
};

GDB::server.hooks.normalizeAddress = [](u64 address) -> u64 {
address = (s32)address;
return cpu.devirtualizeDebug(address);
};

Expand Down

0 comments on commit c8ddc5d

Please sign in to comment.