summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers/mac.c')
-rw-r--r--src/mess/drivers/mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/drivers/mac.c b/src/mess/drivers/mac.c
index 56a4c7f95a8..5ba63ada537 100644
--- a/src/mess/drivers/mac.c
+++ b/src/mess/drivers/mac.c
@@ -202,7 +202,7 @@ READ8_MEMBER( mac_state::mac_sonora_vctl_r )
if (offset == 2)
{
// printf("Sonora: read monitor ID at PC=%x\n", m_maincpu->pc());
- return (m_montype->read_safe(6)<<4);
+ return ((m_montype ? m_montype->read() : 6)<<4);
}
return m_sonora_vctl[offset];