summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/upd7810
diff options
context:
space:
mode:
author therealmogminer@gmail.com <therealmogminer@gmail.com>2015-11-09 12:23:29 +0100
committer therealmogminer@gmail.com <therealmogminer@gmail.com>2015-11-09 12:23:29 +0100
commit7b5119e1667c1a0844c268169e74c69c5a40f5c3 (patch)
tree3f26277c0f7df0ab4533187f4bcdb560c8e663bd /src/devices/cpu/upd7810
parent33f410f0d90668258c34e8ce4fd92b84d1cbd177 (diff)
nw, more PVS-Studio fixes
Diffstat (limited to 'src/devices/cpu/upd7810')
-rw-r--r--src/devices/cpu/upd7810/upd7810.cpp24
1 files changed, 8 insertions, 16 deletions
diff --git a/src/devices/cpu/upd7810/upd7810.cpp b/src/devices/cpu/upd7810/upd7810.cpp
index f22ccb07b4f..bf699d70fa9 100644
--- a/src/devices/cpu/upd7810/upd7810.cpp
+++ b/src/devices/cpu/upd7810/upd7810.cpp
@@ -1735,20 +1735,20 @@ void upd7810_device::device_reset()
m_tm.d = 0;
m_ecnt.d = 0;
m_etm.d = 0;
- m_ma = 0;
- m_mb = 0;
+ MA = 0xff;
+ MB = 0xff;
m_mcc = 0;
- m_mc = 0;
+ MC = 0xff;
m_mm = 0;
- m_mf = 0;
- m_tmm = 0;
- m_etmm = 0;
+ MF = 0xff;
+ TMM = 0xff;
+ ETMM = 0xff;
m_eom = 0;
m_sml = 0;
m_smh = 0;
m_anm = 0;
- m_mkl = 0;
- m_mkh = 0;
+ MKL = 0xFF;
+ MKH = 0xFF; // ??
m_zcm = 0;
m_pa_in = 0;
m_pb_in = 0;
@@ -1802,14 +1802,6 @@ void upd7810_device::device_reset()
m_adrange = 0;
PANM = 0xff;
- ETMM = 0xff;
- TMM = 0xff;
- MA = 0xff;
- MB = 0xff;
- MC = 0xff;
- MF = 0xff;
- MKL = 0xff;
- MKH = 0xff; //?
}
void upd7801_device::device_reset()