mirror of
https://github.com/holub/mame
synced 2025-04-22 00:11:58 +03:00
shift bugfix
This commit is contained in:
parent
25be111f97
commit
1959a525d6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user