summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2020-12-28 19:35:44 +0100
committer Olivier Galibert <galibert@pobox.com>2020-12-28 19:35:44 +0100
commite107ddf142f79e21f90dad6ab6c5b0722a2d6537 (patch)
treec1920e07fc563f1483b7200358cab125ff6ae198
parent4832a94494d5304fb09a3ece9ab3fd5c050bc577 (diff)
tms57002: clear some forgotten registers
-rw-r--r--src/devices/cpu/tms57002/tms57002.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/cpu/tms57002/tms57002.cpp b/src/devices/cpu/tms57002/tms57002.cpp
index da29f23fbcd..51c18781ef5 100644
--- a/src/devices/cpu/tms57002/tms57002.cpp
+++ b/src/devices/cpu/tms57002/tms57002.cpp
@@ -83,6 +83,9 @@ void tms57002_device::device_reset()
id = 0;
ba0 = 0;
ba1 = 0;
+ sa = 0;
+ rptc = 0;
+ rptc_next = 0;
update_counter_tail = 0;
update_counter_head = 0;
st0 &= ~(ST0_INCS | ST0_DIRI | ST0_FI | ST0_SIM | ST0_PLRI |