mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 00:03:37 +01:00
Prevent a crash in debugger without jit.
This commit is contained in:
1 parent
62ff431e3a
commit
0c93baa1df
1 file changed
+2
-1
@@ -309,7 +309,8 @@ void CtrlDisAsmView::assembleOpcode(u32 address, std::string defaultText)
|
||||
if (result == true)
|
||||
{
|
||||
Memory::Write_U32(encoded,address);
|
||||
MIPSComp::jit->ClearCacheAt(address);
|
||||
if (MIPSComp::jit)
|
||||
MIPSComp::jit->ClearCacheAt(address);
|
||||
redraw();
|
||||
} else {
|
||||
MessageBox(wnd,L"Couldn't assemble.",L"Error",MB_OK);
|
||||
|
||||
Reference in new issue
Block a user