mirror of
https://github.com/holub/mame
synced 2025-06-07 05:13:46 +03:00
Merge pull request #3641 from pmackinlay/interpro
mc146818: don't restart timer unnecessarily (nw)
This commit is contained in:
commit
9b5db920ff
@ -582,8 +582,11 @@ WRITE8_MEMBER( mc146818_device::write )
|
|||||||
|
|
||||||
case REG_A:
|
case REG_A:
|
||||||
// top bit of A is read only
|
// top bit of A is read only
|
||||||
m_data[REG_A] = data & ~REG_A_UIP;
|
if ((data ^ m_data[REG_A]) & ~REG_A_UIP)
|
||||||
update_timer();
|
{
|
||||||
|
m_data[REG_A] = data & ~REG_A_UIP;
|
||||||
|
update_timer();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case REG_B:
|
case REG_B:
|
||||||
|
Loading…
Reference in New Issue
Block a user