From: notaz Date: Sun, 16 Sep 2007 15:41:28 +0000 (+0000) Subject: fixed deadlock X-Git-Tag: v1.85~668 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32826a1a22fd3e6203310bba855d8c2b6f3c403a;p=picodrive.git fixed deadlock git-svn-id: file:///home/notaz/opt/svn/PicoDrive@248 be3aeb3a-fb24-0410-a615-afba39da0efa --- diff --git a/cpu/musashi/m68kcpu.c b/cpu/musashi/m68kcpu.c index 7564c116..d766eb5b 100644 --- a/cpu/musashi/m68kcpu.c +++ b/cpu/musashi/m68kcpu.c @@ -825,8 +825,8 @@ int m68k_execute(int num_cycles) /* Read an instruction and call its handler */ REG_IR = m68ki_read_imm_16(); - USE_CYCLES(CYC_INSTRUCTION[REG_IR]); // notaz m68ki_instruction_jump_table[REG_IR](); + USE_CYCLES(CYC_INSTRUCTION[REG_IR]); // moving this up may cause a deadlock /* Trace m68k_exception, if necessary */ m68ki_exception_if_trace(); /* auto-disable (see m68kcpu.h) */