diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2020-03-07 22:32:25 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2020-03-07 22:34:34 -0500 |
commit | 752f9db43940fe760213a23bc407678623944a2d (patch) | |
tree | 45d19c1fdd844009dce2bd2a41bfb24770b3545b /src/devices | |
parent | 89a559a7b72e37be2cb1f9072408fda0d8a53c5d (diff) |
upd7810: Make A/D timer work at former rate relative to CPU states (nw)
This undoes part of 61d087db78ac2a3341e7b0e3d5fba0c9e1e3c270, and fixes Superman being unable to coin up.
Diffstat (limited to 'src/devices')
-rw-r--r-- | src/devices/cpu/upd7810/upd7810.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/upd7810/upd7810.cpp b/src/devices/cpu/upd7810/upd7810.cpp index 467817c6086..4e845d4e6e1 100644 --- a/src/devices/cpu/upd7810/upd7810.cpp +++ b/src/devices/cpu/upd7810/upd7810.cpp @@ -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) |