Debugger: Fixed crash due to uninit variable after calling GetAbsoluteAddress on BW-RAM

This commit is contained in:
Sour 2019-12-26 13:19:30 -05:00
parent b5876ab8b1
commit bf76bb3579

View file

@ -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;