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:
parent
1d1b08a091
commit
a88e09edc2
|
@ -158,6 +158,7 @@ const u8 *DSPEmitter::Compile(int start_addr) {
|
||||||
|
|
||||||
int addr = start_addr;
|
int addr = start_addr;
|
||||||
checkExceptions();
|
checkExceptions();
|
||||||
|
blockSize[start_addr] = 0;
|
||||||
while (addr < start_addr + MAX_BLOCK_SIZE)
|
while (addr < start_addr + MAX_BLOCK_SIZE)
|
||||||
{
|
{
|
||||||
UDSPInstruction inst = dsp_imem_read(addr);
|
UDSPInstruction inst = dsp_imem_read(addr);
|
||||||
|
@ -236,8 +237,6 @@ int STACKALIGN DSPEmitter::RunForCycles(int cycles)
|
||||||
|
|
||||||
while (!(g_dsp.cr & CR_HALT))
|
while (!(g_dsp.cr & CR_HALT))
|
||||||
{
|
{
|
||||||
DSPCore_CheckExternalInterrupt();
|
|
||||||
DSPCore_CheckExceptions();
|
|
||||||
// Compile the block if needed
|
// Compile the block if needed
|
||||||
u16 block_addr = g_dsp.pc;
|
u16 block_addr = g_dsp.pc;
|
||||||
if (!blocks[block_addr])
|
if (!blocks[block_addr])
|
||||||
|
|
Loading…
Reference in New Issue