diff options
Diffstat (limited to 'src/devices/cpu/sh/sh7042.cpp')
| -rw-r--r-- | src/devices/cpu/sh/sh7042.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/devices/cpu/sh/sh7042.cpp b/src/devices/cpu/sh/sh7042.cpp index 7ef10f19ce1..dc2659b7a7e 100644 --- a/src/devices/cpu/sh/sh7042.cpp +++ b/src/devices/cpu/sh/sh7042.cpp @@ -297,3 +297,10 @@ void sh7042_device::pcf_if_w(offs_t, u16 data, u16 mem_mask) COMBINE_DATA(&m_pcf_if); logerror("pcf if = %04x\n", m_pcf_if); } + +void sh7042_device::set_internal_interrupt(int level, u32 vector) +{ + m_sh2_state->internal_irq_level = level; + m_internal_irq_vector = vector; + m_test_irq = 1; +} |
