Debugger: Fixed crash when opening up debugger window for SNES games

(caused by GB support)
This commit is contained in:
Sour 2020-05-26 19:49:38 -04:00
parent bdce582677
commit b22f514ae5

View file

@ -273,6 +273,9 @@ void Disassembler::Disassemble(CpuType cpuType)
case CpuType::Gameboy:
case CpuType::Spc:
if(!_gameboy) {
return;
}
mappings = nullptr;
maxAddr = 0xFFFF;
break;