summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/video/crtc_ega.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/video/crtc_ega.c')
-rw-r--r--src/mess/video/crtc_ega.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/video/crtc_ega.c b/src/mess/video/crtc_ega.c
index 478335fa408..0b71320323e 100644
--- a/src/mess/video/crtc_ega.c
+++ b/src/mess/video/crtc_ega.c
@@ -80,7 +80,7 @@ READ8_MEMBER( crtc_ega_device::register_r )
WRITE8_MEMBER( crtc_ega_device::register_w )
{
- if (LOG) logerror("CRTC_EGA PC %04x: reg 0x%02x = 0x%02x\n", cpu_get_pc(machine().firstcpu), m_register_address_latch, data);
+ if (LOG) logerror("CRTC_EGA PC %04x: reg 0x%02x = 0x%02x\n", machine().firstcpu->safe_pc(), m_register_address_latch, data);
switch (m_register_address_latch)
{