notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
32x: mode2 draw, debug, poll detection
[picodrive.git]
/
pico
/
32x
/
32x.c
diff --git
a/pico/32x/32x.c
b/pico/32x/32x.c
index
c964d88
..
8e3553a
100644
(file)
--- a/
pico/32x/32x.c
+++ b/
pico/32x/32x.c
@@
-82,9
+82,14
@@
static __inline void SekRunM68k(int cyc)
#endif
}
#endif
}
+// ~1463.8, but due to cache misses and slow mem
+// it's much lower than that
+#define SH2_LINE_CYCLES 700
+
#define PICO_32X
#define RUN_SH2S \
#define PICO_32X
#define RUN_SH2S \
- sh2_execute(&msh2, 1000);
+ if (!(Pico32x.emu_flags & P32XF_MSH2POLL)) \
+ sh2_execute(&msh2, SH2_LINE_CYCLES);
#include "../pico_cmn.c"
#include "../pico_cmn.c"