From 6918a9e1d6f30aa43c3bbeabcd27dfe2a3c6527c Mon Sep 17 00:00:00 2001 From: skidau Date: Wed, 11 Aug 2010 10:45:27 +0000 Subject: 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 --- Source/Core/DebuggerWX/Src/CodeWindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Source/Core/DebuggerWX/Src/CodeWindow.cpp') 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(); } -- cgit v1.2.3