notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
musashi: run same amount of cycles as other cores
[picodrive.git]
/
cpu
/
musashi
/
m68kcpu.c
diff --git
a/cpu/musashi/m68kcpu.c
b/cpu/musashi/m68kcpu.c
index
d766eb5
..
38469f3
100644
(file)
--- a/
cpu/musashi/m68kcpu.c
+++ b/
cpu/musashi/m68kcpu.c
@@
-808,7
+808,7
@@
int m68k_execute(int num_cycles)
// notaz
\r
m68ki_trace_t1();
\r
\r
// notaz
\r
m68ki_trace_t1();
\r
\r
- while(GET_CYCLES() >
=
0)
\r
+ while(GET_CYCLES() > 0)
\r
// do
\r
{
\r
/* Set tracing accodring to T1. (T0 is done inside instruction) */
\r
// do
\r
{
\r
/* Set tracing accodring to T1. (T0 is done inside instruction) */
\r
@@
-832,6
+832,8
@@
int m68k_execute(int num_cycles)
m68ki_exception_if_trace(); /* auto-disable (see m68kcpu.h) */
\r
\r
m68ki_trace_t1(); /* notaz */
\r
m68ki_exception_if_trace(); /* auto-disable (see m68kcpu.h) */
\r
\r
m68ki_trace_t1(); /* notaz */
\r
+
\r
+ m68ki_cpu_p->not_polling = 1;
\r
} // while(GET_CYCLES() > 0); // notaz
\r
\r
/* set previous PC to current PC for the next entry into the loop */
\r
} // while(GET_CYCLES() > 0); // notaz
\r
\r
/* set previous PC to current PC for the next entry into the loop */
\r