diff options
author | 2014-04-23 08:36:18 +0000 | |
---|---|---|
committer | 2014-04-23 08:36:18 +0000 | |
commit | 45fe0097ae0e29c6db8a61c9ba1f6a163520fded (patch) | |
tree | 806dd970c5ebeb8c6f7555da968818eb19269db4 /src/mess/machine | |
parent | f4b64a1b5b6f238729ffe4f91b65539efe104311 (diff) |
Fixed mac validation (nw)
Diffstat (limited to 'src/mess/machine')
-rw-r--r-- | src/mess/machine/mac.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mess/machine/mac.c b/src/mess/machine/mac.c index 4ea42400972..c724c0934a0 100644 --- a/src/mess/machine/mac.c +++ b/src/mess/machine/mac.c @@ -1650,7 +1650,8 @@ WRITE8_MEMBER(mac_state::mac_via2_out_b) if (m_model == MODEL_MAC_II) { - m_maincpu->set_hmmu_enable((data & 0x8) ? M68K_HMMU_DISABLE : M68K_HMMU_ENABLE_II); + m68000_base_device *m68k = downcast<m68000_base_device *>(m_maincpu.target()); + m68k->set_hmmu_enable((data & 0x8) ? M68K_HMMU_DISABLE : M68K_HMMU_ENABLE_II); } } @@ -1824,7 +1825,8 @@ void mac_state::machine_reset() // default to 32-bit mode on LC if (m_model == MODEL_MAC_LC) { - m_maincpu->set_hmmu_enable(M68K_HMMU_DISABLE); + m68000_base_device *m68k = downcast<m68000_base_device *>(m_maincpu.target()); + m68k->set_hmmu_enable(M68K_HMMU_DISABLE); } m_last_taken_interrupt = -1; |