summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6805/m6805.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6805/m6805.cpp')
-rw-r--r--src/devices/cpu/m6805/m6805.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/m6805/m6805.cpp b/src/devices/cpu/m6805/m6805.cpp
index bc1e33d76ec..2ae93513281 100644
--- a/src/devices/cpu/m6805/m6805.cpp
+++ b/src/devices/cpu/m6805/m6805.cpp
@@ -307,7 +307,7 @@ void m6805_base_device::device_reset()
/* IRQ disabled */
SEI;
- rm16(0xfffe, m_pc);
+ rm16(0xfffe & m_params.m_vector_mask, m_pc);
}
@@ -356,7 +356,7 @@ bool m6805_base_device::test_il()
void m6805_base_device::interrupt_vector()
{
- rm16(0xfffa, m_pc);
+ rm16(0xfffa & m_params.m_vector_mask, m_pc);
}
/* Generate interrupts */