From 4b15325acdb6c8638ea07d349e17c2d4e7c5142b Mon Sep 17 00:00:00 2001 From: "james.jdunne" Date: Sun, 2 Jan 2011 22:53:25 +0000 Subject: 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 --- Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp') 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: -- cgit v1.2.3