fixed deadlock

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@248 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-09-16 15:41:28 +00:00
parent 5f8c85be2a
commit 32826a1a22

View file

@ -825,8 +825,8 @@ int m68k_execute(int num_cycles)
/* Read an instruction and call its handler */ /* Read an instruction and call its handler */
REG_IR = m68ki_read_imm_16(); REG_IR = m68ki_read_imm_16();
USE_CYCLES(CYC_INSTRUCTION[REG_IR]); // notaz
m68ki_instruction_jump_table[REG_IR](); m68ki_instruction_jump_table[REG_IR]();
USE_CYCLES(CYC_INSTRUCTION[REG_IR]); // moving this up may cause a deadlock
/* Trace m68k_exception, if necessary */ /* Trace m68k_exception, if necessary */
m68ki_exception_if_trace(); /* auto-disable (see m68kcpu.h) */ m68ki_exception_if_trace(); /* auto-disable (see m68kcpu.h) */