shift bugfix

This commit is contained in:
hap 2015-05-14 14:46:38 +02:00
parent 25be111f97
commit 1959a525d6

View File

@ -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