small HandleLoop() optimization for dsplle-int

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6257 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Marko Pusljar 2010-10-04 12:50:16 +00:00
parent 9ffc071e34
commit 6c8fc66698
1 changed files with 3 additions and 1 deletions

View File

@ -99,7 +99,9 @@ void Step()
u16 opc = dsp_fetch_code(); u16 opc = dsp_fetch_code();
ExecuteInstruction(UDSPInstruction(opc)); ExecuteInstruction(UDSPInstruction(opc));
HandleLoop();
if (DSPAnalyzer::code_flags[g_dsp.pc - 1] & DSPAnalyzer::CODE_LOOP_END)
HandleLoop();
} }
// Used by thread mode. // Used by thread mode.