summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/pic8259.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/pic8259.cpp')
-rw-r--r--src/devices/machine/pic8259.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/devices/machine/pic8259.cpp b/src/devices/machine/pic8259.cpp
index 40fe6fd916c..3064e212850 100644
--- a/src/devices/machine/pic8259.cpp
+++ b/src/devices/machine/pic8259.cpp
@@ -133,7 +133,10 @@ UINT32 pic8259_device::acknowledge()
}
}
}
- return 0;
+ logerror("Spurious IRQ\n");
+ if(m_is_x86)
+ return m_base + 7;
+ return 0xcd0000 + (m_vector_addr_high << 8) + m_vector_addr_low + (7 << (3-m_vector_size));
}