Debugger: Fixed crash when opening up debugger window for SNES games
(caused by GB support)
This commit is contained in:
parent
bdce582677
commit
b22f514ae5
1 changed files with 3 additions and 0 deletions
|
@ -273,6 +273,9 @@ void Disassembler::Disassemble(CpuType cpuType)
|
|||
|
||||
case CpuType::Gameboy:
|
||||
case CpuType::Spc:
|
||||
if(!_gameboy) {
|
||||
return;
|
||||
}
|
||||
mappings = nullptr;
|
||||
maxAddr = 0xFFFF;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue