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
This commit is contained in:
hrydgard 2010-05-29 21:43:46 +00:00
parent 1d1b08a091
commit a88e09edc2
1 changed files with 1 additions and 2 deletions

View File

@ -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])