summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/tmp68301.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/tmp68301.cpp')
-rw-r--r--src/devices/machine/tmp68301.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/devices/machine/tmp68301.cpp b/src/devices/machine/tmp68301.cpp
index 7e2afbe3aca..75b1f070ad8 100644
--- a/src/devices/machine/tmp68301.cpp
+++ b/src/devices/machine/tmp68301.cpp
@@ -217,12 +217,15 @@ uint8_t tmp68301_device::irq_callback(offs_t offset)
u16 mask = (src > 2 ? 2 : 1) << src;
if ((m_ipr & mask) != 0 && (m_imr & mask) == 0)
{
- // add cause to interrupt in-service register
- m_iisr |= mask;
-
- // no longer pending
- m_ipr &= ~mask;
- update_ipl();
+ if (!machine().side_effects_disabled())
+ {
+ // add cause to interrupt in-service register
+ m_iisr |= mask;
+
+ // no longer pending
+ m_ipr &= ~mask;
+ update_ipl();
+ }
// vary vector number by type
if (src > 6)