diff options
Diffstat (limited to 'src/mame/machine/lisa.cpp')
-rw-r--r-- | src/mame/machine/lisa.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/lisa.cpp b/src/mame/machine/lisa.cpp index 2ef7fe045fc..bf4244dcb2a 100644 --- a/src/mame/machine/lisa.cpp +++ b/src/mame/machine/lisa.cpp @@ -799,7 +799,7 @@ DIRECT_UPDATE_HANDLER (lisa_OPbaseoverride) } - if (m_maincpu->state_int(M68K_SR) & 0x2000) + if (BIT(m_maincpu->get_fc(), 2)) { /* supervisor mode -> force register file 0 */ the_seg = 0; @@ -1267,7 +1267,7 @@ READ16_MEMBER(lisa_state::lisa_r) } } - if (m_maincpu->state_int(M68K_SR) & 0x2000) + if (BIT(m_maincpu->get_fc(), 2)) /* supervisor mode -> force register file 0 */ the_seg = 0; @@ -1473,7 +1473,7 @@ WRITE16_MEMBER(lisa_state::lisa_w) } } - if (m_maincpu->state_int(M68K_SR) & 0x2000) + if (BIT(m_maincpu->get_fc(), 2)) /* supervisor mode -> force register file 0 */ the_seg = 0; |