pc&=~1;\r
if ((pc<<8) == 0)\r
{\r
- printf("%i:%03i: game crash detected @ %06x\n", Pico.m.frame_count, Pico.m.scanline, SekPc);\r
- return (int)Pico.rom + Pico.romsize; // common crash condition, can happen if acc timing is off\r
+ elprintf(EL_STATUS|EL_ANOMALY, "%i:%03i: game crash detected @ %06x\n",\r
+ Pico.m.frame_count, Pico.m.scanline, SekPc);\r
+ return (int)Pico.rom + Pico.romsize; // common crash condition, may happen with bad ROMs\r
}\r
\r
PicoCpuCM68k.membase=PicoMemBase(pc&0x00ffffff);\r
int PadRead(int i)\r
{\r
int pad,value,data_reg;\r
- pad=~PicoPad[i]; // Get inverse of pad MXYZ SACB RLDU\r
+ pad=~PicoPadInt[i]; // Get inverse of pad MXYZ SACB RLDU\r
data_reg=Pico.ioports[i+1];\r
\r
// orr the bits, which are set as output\r
\r
static void PicoWrite32(u32 a,u32 d)\r
{\r
- elprintf(EL_IO, "w32: %06x, %08x", a&0xffffff, d);\r
+ elprintf(EL_IO, "w32: %06x, %08x @%06x", a&0xffffff, d, SekPc);\r
#ifdef EMU_CORE_DEBUG\r
lastwrite_cyc_d[lwp_cyc++&15] = d;\r
#endif\r