Previous 199869 Revisions Next

r20409 Tuesday 22nd January, 2013 at 23:10:10 UTC by Angelo Salese
Fix compile on a define switch
[src/mess/machine]psxcd.c

trunk/src/mess/machine/psxcd.c
r20408r20409
223223   }
224224
225225   #ifdef debug_cdrom_registers
226      printf("cdrom: read byte %08x = %02x (PC=%x)\n",addr,ret,machine().device("maincpu")->safe_pc());
226      printf("cdrom: read byte %08x = %02x (PC=%x)\n",offset,ret,machine().device("maincpu")->safe_pc());
227227   #endif
228228
229229   return ret;
r20408r20409
236236WRITE8_MEMBER( psxcd_device::write )
237237{
238238   #ifdef debug_cdrom_registers
239      printf("cdrom: write byte %08x = %02x (PC=%x)\n",addr,byte,machine().device("maincpu")->safe_pc());
239      printf("cdrom: write byte %08x = %02x (PC=%x)\n",offset,data,machine().device("maincpu")->safe_pc());
240240   #endif
241241
242242   switch (offset&3)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team