32x: mode2 draw, debug, poll detection

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@783 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-09-18 12:06:42 +00:00
parent acd35d4c08
commit 266c6afa84
9 changed files with 161 additions and 10 deletions

View file

@ -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"