mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-22 10:19:01 +00:00
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:
parent
9ffc071e34
commit
6c8fc66698
1 changed files with 3 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue