From a88e09edc2e592bae5f1933c3aced22cb8ab2463 Mon Sep 17 00:00:00 2001 From: hrydgard Date: Sat, 29 May 2010 21:43:46 +0000 Subject: [PATCH] DSPLLE: followup to last change: bugfix + remove extraneous exception checks git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5542 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DSPCore/Src/DSPEmitter.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/DSPCore/Src/DSPEmitter.cpp b/Source/Core/DSPCore/Src/DSPEmitter.cpp index 5bb3b6f6dd..3184e340d8 100644 --- a/Source/Core/DSPCore/Src/DSPEmitter.cpp +++ b/Source/Core/DSPCore/Src/DSPEmitter.cpp @@ -158,6 +158,7 @@ const u8 *DSPEmitter::Compile(int start_addr) { int addr = start_addr; checkExceptions(); + blockSize[start_addr] = 0; while (addr < start_addr + MAX_BLOCK_SIZE) { UDSPInstruction inst = dsp_imem_read(addr); @@ -236,8 +237,6 @@ int STACKALIGN DSPEmitter::RunForCycles(int cycles) while (!(g_dsp.cr & CR_HALT)) { - DSPCore_CheckExternalInterrupt(); - DSPCore_CheckExceptions(); // Compile the block if needed u16 block_addr = g_dsp.pc; if (!blocks[block_addr])