Debugger: Fixed crash due to uninit variable after calling GetAbsoluteAddress on BW-RAM
This commit is contained in:
parent
b5876ab8b1
commit
bf76bb3579
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ public:
|
|||
if((addr & 0x600000) == 0x600000) {
|
||||
info.Address = ((addr - 0x600000) >> (_state->BwRam2BppMode ? 2 : 1)) & _mask;
|
||||
} else {
|
||||
addr = GetBwRamAddress(addr) & _mask;
|
||||
info.Address = GetBwRamAddress(addr) & _mask;
|
||||
}
|
||||
info.Type = SnesMemoryType::SaveRam;
|
||||
return info;
|
||||
|
|
Loading…
Add table
Reference in a new issue