summaryrefslogtreecommitdiff
path: root/Source/Core/DebuggerWX
diff options
context:
space:
mode:
authorjames.jdunne <james.jdunne@gmail.com>2011-01-02 22:53:25 +0000
committerjames.jdunne <james.jdunne@gmail.com>2011-01-02 22:53:25 +0000
commit4b15325acdb6c8638ea07d349e17c2d4e7c5142b (patch)
tree6905546351134da83f744b9061b3a02bcf07630c /Source/Core/DebuggerWX
parent638fa77954eac52a778cc2938c2a72164646cfdf (diff)
GX_TF_RGB565 texture decoder optimized with SSE2 producing a ~78% speed increase over reference C implementation.
Fixed crash in debugger when attempting to enable profiler before having run any game. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6724 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX')
-rw-r--r--Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp b/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp
index c6b68afcd9..b8bb54f1cf 100644
--- a/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp
+++ b/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp
@@ -200,7 +200,7 @@ void CCodeWindow::OnProfilerMenu(wxCommandEvent& event)
switch (event.GetId())
{
case IDM_PROFILEBLOCKS:
- jit->ClearCache();
+ if (jit != NULL) jit->ClearCache();
Profiler::g_ProfileBlocks = GetMenuBar()->IsChecked(IDM_PROFILEBLOCKS);
break;
case IDM_WRITEPROFILE: