From b6e9eb17203f181fbbc2addde0dd839d77afc756 Mon Sep 17 00:00:00 2001 From: "R. Belmont" Date: Mon, 28 Jan 2013 17:31:50 +0000 Subject: [PATCH] Fix pmac6100 regression caused by detagging (nw) --- src/mess/video/mac.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/mess/video/mac.c b/src/mess/video/mac.c index c8d2239ef17..3fe0bbc5d8b 100644 --- a/src/mess/video/mac.c +++ b/src/mess/video/mac.c @@ -242,7 +242,14 @@ VIDEO_RESET_MEMBER(mac_state,macrbv) visarea.min_x = 0; visarea.min_y = 0; view = 0; - m_rbv_montype = m_montype->read_safe(2); + if (m_montype) + { + m_rbv_montype = m_montype->read_safe(2); + } + else + { + m_rbv_montype = 2; + } switch (m_rbv_montype) { case 1: // 15" portrait display