summaryrefslogtreecommitdiff
path: root/Source/Core/DSPCore/Src/DSPEmitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DSPCore/Src/DSPEmitter.cpp')
-rw-r--r--Source/Core/DSPCore/Src/DSPEmitter.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/Source/Core/DSPCore/Src/DSPEmitter.cpp b/Source/Core/DSPCore/Src/DSPEmitter.cpp
index 113d3aea0e..ec41305f9e 100644
--- a/Source/Core/DSPCore/Src/DSPEmitter.cpp
+++ b/Source/Core/DSPCore/Src/DSPEmitter.cpp
@@ -326,12 +326,9 @@ void DSPEmitter::CompileDispatcher()
// Compile block if needed
FixupBranch found = J_CC(CC_NE);
CALL((void *)CompileCurrent);
+ MOVZX(32, 16, ECX, M(&g_dsp.pc));
SetJumpTarget(found);
- // Check if we have enough cycles to execute
- CMP(32, R(ESI), R(EAX));
- FixupBranch noCycles = J_CC(CC_B);
-
// Execute block. Cycles executed returned in EAX.
#ifdef _M_IX86
CALLptr(MComplex(EBX, ECX, SCALE_4, 0));
@@ -344,12 +341,6 @@ void DSPEmitter::CompileDispatcher()
J_CC(CC_A, dispatcherLoop);
- // Not enough cycles.
- SetJumpTarget(noCycles);
- //MOV(32, M(&cyclesLeft), R(ESI));
- //ABI_PopAllCalleeSavedRegsAndAdjustStack();
- //RET();
-
// DSP gave up the remaining cycles.
SetJumpTarget(halt);
//MOV(32, M(&cyclesLeft), Imm32(0));