summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/video/nubus_m2hires.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/video/nubus_m2hires.c')
-rw-r--r--src/mess/video/nubus_m2hires.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mess/video/nubus_m2hires.c b/src/mess/video/nubus_m2hires.c
index 3d29c51a181..212e4d28e9d 100644
--- a/src/mess/video/nubus_m2hires.c
+++ b/src/mess/video/nubus_m2hires.c
@@ -257,7 +257,7 @@ WRITE32_MEMBER( nubus_m2hires_device::m2hires_w )
break;
case 0x5038: // DAC control
-// printf("%08x to DAC control (PC=%x)\n", data, cpu_get_pc(&space.device()));
+// printf("%08x to DAC control (PC=%x)\n", data, space.device().safe_pc());
m_clutoffs = (data>>24)&0xff;
break;
@@ -266,7 +266,7 @@ WRITE32_MEMBER( nubus_m2hires_device::m2hires_w )
if (m_count == 3)
{
-// printf("RAMDAC: color %d = %02x %02x %02x (PC=%x)\n", m_clutoffs, m_colors[0], m_colors[1], m_colors[2], cpu_get_pc(&space.device()) );
+// printf("RAMDAC: color %d = %02x %02x %02x (PC=%x)\n", m_clutoffs, m_colors[0], m_colors[1], m_colors[2], space.device().safe_pc() );
m_palette[m_clutoffs] = MAKE_RGB(m_colors[0], m_colors[1], m_colors[2]);
m_clutoffs++;
if (m_clutoffs > 255)
@@ -287,7 +287,7 @@ WRITE32_MEMBER( nubus_m2hires_device::m2hires_w )
break;
default:
-// printf("m2hires_w: %08x @ %x, mask %08x (PC=%x)\n", data, offset, mem_mask, cpu_get_pc(&space.device()));
+// printf("m2hires_w: %08x @ %x, mask %08x (PC=%x)\n", data, offset, mem_mask, space.device().safe_pc());
break;
}
}
@@ -301,7 +301,7 @@ READ32_MEMBER( nubus_m2hires_device::m2hires_r )
}
/* else
{
- printf("m2hires_r: @ %x, mask %08x (PC=%x)\n", offset, mem_mask, cpu_get_pc(&space.device()));
+ printf("m2hires_r: @ %x, mask %08x (PC=%x)\n", offset, mem_mask, space.device().safe_pc());
}*/
return 0;