summaryrefslogtreecommitdiff
path: root/Source/Core/DebuggerWX/Src/CodeWindow.cpp
diff options
context:
space:
mode:
authorskidau <skidau@gmail.com>2010-08-11 10:45:27 +0000
committerskidau <skidau@gmail.com>2010-08-11 10:45:27 +0000
commit6918a9e1d6f30aa43c3bbeabcd27dfe2a3c6527c (patch)
tree522ed590324ff37dd31d12f1036981ee549219a3 /Source/Core/DebuggerWX/Src/CodeWindow.cpp
parent9f57345c11d369d9f10f1c58d5bc8481e9a9b794 (diff)
Added support for multiboot dols. This allows demo discs, bonus discs etc to be played.
* Flushed the JIT cache on "ICFI" (Flush Instruction Cache) * Made all instructions one cycle in duration Fixes issue 233 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6088 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/CodeWindow.cpp')
-rw-r--r--Source/Core/DebuggerWX/Src/CodeWindow.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/DebuggerWX/Src/CodeWindow.cpp b/Source/Core/DebuggerWX/Src/CodeWindow.cpp
index e62ab669f2..e0f7678964 100644
--- a/Source/Core/DebuggerWX/Src/CodeWindow.cpp
+++ b/Source/Core/DebuggerWX/Src/CodeWindow.cpp
@@ -560,7 +560,10 @@ void CCodeWindow::OnCPUMode(wxCommandEvent& event)
}
// Clear the JIT cache to enable these changes
- jit->ClearCache();
+ if (jit)
+ {
+ jit->ClearCache();
+ }
// Update
UpdateButtonStates();
}