From 1959a525d692372a4b8436ef80b3c4212b754e6d Mon Sep 17 00:00:00 2001 From: hap Date: Thu, 14 May 2015 14:46:38 +0200 Subject: [PATCH] shift bugfix --- src/emu/cpu/e0c6200/e0c6s46.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/emu/cpu/e0c6200/e0c6s46.c b/src/emu/cpu/e0c6200/e0c6s46.c index 5980f4eea85..8cb24f67504 100644 --- a/src/emu/cpu/e0c6200/e0c6s46.c +++ b/src/emu/cpu/e0c6200/e0c6s46.c @@ -219,7 +219,7 @@ void e0c6s46_device::execute_set_input(int line, int state) return; state = (state) ? 1 : 0; - int port = line >> 3 & 1; + int port = line >> 2 & 1; UINT8 bit = 1 << (line & 3); m_port_k[port] = (m_port_k[port] & ~bit) | (state ? bit : 0); @@ -304,7 +304,6 @@ void e0c6s46_device::clock_stopwatch() } } - TIMER_CALLBACK_MEMBER(e0c6s46_device::stopwatch_cb) { m_swl_src_pulse ^= 1; @@ -345,7 +344,6 @@ bool e0c6s46_device::prgtimer_reset_prescaler() return (sel >= 2); } - TIMER_CALLBACK_MEMBER(e0c6s46_device::prgtimer_cb) { // check if it's clocked by osc1, schedule next timeout