mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
DSPLLE: Some cleanup. Possibly very small speed increase.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5535 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -41,7 +41,7 @@ SDSP DSPJitTester::RunJit(SDSP dsp_settings)
|
||||
ResetJit();
|
||||
memcpy(&g_dsp, &dsp_settings, sizeof(SDSP));
|
||||
const u8* code = jit.GetCodePtr();
|
||||
jit.WriteCallInterpreter(instruction);
|
||||
jit.EmitInstruction(instruction);
|
||||
jit.RET();
|
||||
((void(*)())code)();
|
||||
|
||||
@ -113,8 +113,8 @@ void DSPJitTester::DumpJittedCode()
|
||||
{
|
||||
ResetJit();
|
||||
const u8* code = jit.GetCodePtr();
|
||||
jit.WriteCallInterpreter(instruction);
|
||||
int code_size = jit.GetCodePtr() - code;
|
||||
jit.EmitInstruction(instruction);
|
||||
size_t code_size = jit.GetCodePtr() - code;
|
||||
|
||||
printf("%s emitted: ", instruction_name);
|
||||
for (int i = 0; i < code_size; i++)
|
||||
|
Reference in New Issue
Block a user