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
This commit is contained in:
james.jdunne 2011-01-02 22:53:25 +00:00
parent 638fa77954
commit 4b15325acd
2 changed files with 73 additions and 1 deletions

View file

@ -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: