static u32 m68k_unmapped_read8(u32 a)\r
{\r
elprintf(EL_UIO, "m68k unmapped r8 [%06x] @%06x", a, SekPc);\r
- return 0; // assume pulldown, as if MegaCD2 was attached\r
+ return (PicoIn.AHW & PAHW_MCD) ? 0x00 : 0xff; // pulldown if MegaCD2 attached\r
}\r
\r
static u32 m68k_unmapped_read16(u32 a)\r
{\r
elprintf(EL_UIO, "m68k unmapped r16 [%06x] @%06x", a, SekPc);\r
- return 0;\r
+ return (PicoIn.AHW & PAHW_MCD) ? 0x00 : 0xffff;\r
}\r
\r
static void m68k_unmapped_write8(u32 a, u32 d)\r