summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/psxcd.c
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2013-01-22 23:10:10 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2013-01-22 23:10:10 +0000
commit7422d10295c8fd589c496c53a4e23f76e181c685 (patch)
tree79e7d4ff763725e40e531ab1102e81f62142499b /src/mess/machine/psxcd.c
parent0c55ccfd295cd5a139e0f4f37a3373ebbf85634a (diff)
Fix compile on a define switch
Diffstat (limited to 'src/mess/machine/psxcd.c')
-rw-r--r--src/mess/machine/psxcd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/machine/psxcd.c b/src/mess/machine/psxcd.c
index 890d1c77348..31fe1775212 100644
--- a/src/mess/machine/psxcd.c
+++ b/src/mess/machine/psxcd.c
@@ -223,7 +223,7 @@ READ8_MEMBER( psxcd_device::read )
}
#ifdef debug_cdrom_registers
- printf("cdrom: read byte %08x = %02x (PC=%x)\n",addr,ret,machine().device("maincpu")->safe_pc());
+ printf("cdrom: read byte %08x = %02x (PC=%x)\n",offset,ret,machine().device("maincpu")->safe_pc());
#endif
return ret;
@@ -236,7 +236,7 @@ READ8_MEMBER( psxcd_device::read )
WRITE8_MEMBER( psxcd_device::write )
{
#ifdef debug_cdrom_registers
- printf("cdrom: write byte %08x = %02x (PC=%x)\n",addr,byte,machine().device("maincpu")->safe_pc());
+ printf("cdrom: write byte %08x = %02x (PC=%x)\n",offset,data,machine().device("maincpu")->safe_pc());
#endif
switch (offset&3)