notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
input: detect dead devices, always set keynames
[picodrive.git]
/
cpu
/
musashi
/
m68kcpu.c
diff --git
a/cpu/musashi/m68kcpu.c
b/cpu/musashi/m68kcpu.c
index
7564c11
..
d766eb5
100644
(file)
--- a/
cpu/musashi/m68kcpu.c
+++ b/
cpu/musashi/m68kcpu.c
@@
-825,8
+825,8
@@
int m68k_execute(int num_cycles)
\r
/* Read an instruction and call its handler */
\r
REG_IR = m68ki_read_imm_16();
\r
\r
/* Read an instruction and call its handler */
\r
REG_IR = m68ki_read_imm_16();
\r
- USE_CYCLES(CYC_INSTRUCTION[REG_IR]); // notaz
\r
m68ki_instruction_jump_table[REG_IR]();
\r
m68ki_instruction_jump_table[REG_IR]();
\r
+ USE_CYCLES(CYC_INSTRUCTION[REG_IR]); // moving this up may cause a deadlock
\r
\r
/* Trace m68k_exception, if necessary */
\r
m68ki_exception_if_trace(); /* auto-disable (see m68kcpu.h) */
\r
\r
/* Trace m68k_exception, if necessary */
\r
m68ki_exception_if_trace(); /* auto-disable (see m68kcpu.h) */
\r