mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
upd7810: Make A/D timer work at former rate relative to CPU states (nw)
This undoes part of 61d087db78
, and fixes Superman being unable to coin up.
This commit is contained in:
parent
89a559a7b7
commit
752f9db439
@ -1456,9 +1456,9 @@ void upd7810_device::handle_timers(int cycles)
|
||||
/* reset A/D converter */
|
||||
m_adcnt = 0;
|
||||
if (ANM & 0x10)
|
||||
m_adtot = 144/3;
|
||||
m_adtot = 144;
|
||||
else
|
||||
m_adtot = 192/3;
|
||||
m_adtot = 192;
|
||||
m_adout = 0;
|
||||
m_shdone = 0;
|
||||
if (ANM & 0x01)
|
||||
|
Loading…
Reference in New Issue
Block a user