X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=pico%2F32x%2F32x.c;h=8e3553aff56b3f4ac332d65cce994fafad8c1341;hb=3cf9570bacd8952713106a2a2e3176852d811d18;hp=c964d888f1303ac747ce5f71f32bbd346bd12f32;hpb=acd35d4c08522db8cd6714c95c022be98f0889d7;p=picodrive.git diff --git a/pico/32x/32x.c b/pico/32x/32x.c index c964d88..8e3553a 100644 --- a/pico/32x/32x.c +++ b/pico/32x/32x.c @@ -82,9 +82,14 @@ static __inline void SekRunM68k(int cyc) #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 \ - sh2_execute(&msh2, 1000); + if (!(Pico32x.emu_flags & P32XF_MSH2POLL)) \ + sh2_execute(&msh2, SH2_LINE_CYCLES); #include "../pico_cmn.c"