static int idledet_count = 0, idledet_bads = 0;\r
int idledet_start_frame = 0;\r
\r
-static int jump_verify[0x10000];\r
-extern int CycloneJumpTab[];\r
static unsigned char *rom_verify = NULL;\r
\r
void SekInitIdleDet(void)\r
idledet_count = idledet_bads = 0;\r
idledet_start_frame = Pico.m.frame_count + 360;\r
\r
- memcpy(jump_verify, CycloneJumpTab, 0x10000*4);\r
rom_verify = realloc(rom_verify, Pico.romsize);\r
memcpy(rom_verify, Pico.rom, Pico.romsize);\r
#ifdef EMU_C68K\r
if (done_something)\r
{\r
int i;\r
- for (i = 0; i < 0x10000; i++)\r
- if (jump_verify[i] != CycloneJumpTab[i])\r
- printf("jumptab corruption @ %04x!\n", i), exit(1);\r
for (i = 0; i < Pico.romsize; i++)\r
if (rom_verify[i] != Pico.rom[i])\r
printf("ROM corruption @ %06x!\n", i), exit(1);\r