mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 22:59:47 -06:00
Core/DSPCore: Extended opcode handling fixes
* Make writeToBackLog private to DSPIntExtOps.cpp (JIT variants of 'l and 'ln are disabled and broken as is) * Make zeroing of the backlog conditional on doing an interpreter fallback and do it at a few more places * Fix selection of cleanup for extended opcodes. * Fix the DSP unit tests to correctly emit the function prolog/epilog (else EBX wouldn't be saved) * Add a few more DSP unit tests git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6325 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -41,7 +41,9 @@ SDSP DSPJitTester::RunJit(SDSP dsp_settings)
|
||||
ResetJit();
|
||||
memcpy(&g_dsp, &dsp_settings, sizeof(SDSP));
|
||||
const u8* code = jit.GetCodePtr();
|
||||
jit.ABI_PushAllCalleeSavedRegsAndAdjustStack();
|
||||
jit.EmitInstruction(instruction);
|
||||
jit.ABI_PopAllCalleeSavedRegsAndAdjustStack();
|
||||
jit.RET();
|
||||
((void(*)())code)();
|
||||
|
||||
|
Reference in New Issue
Block a user