summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2020-06-04 22:51:26 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2020-06-04 22:51:26 +0200
commit9d4fed0cff98d7f4f35baf235adc189b0bc3e6a2 (patch)
tree5a9b776d7877e7e813ed82fb9b7ec429fa01a7d4
parentf84e4d036b2e8a9a7d3b8f06b56e4aea49174f6e (diff)
devices/cpu/r4000.cpp: initialized one variable to fix problem in devnoclear build (nw)
-rw-r--r--src/devices/cpu/mips/r4000.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/cpu/mips/r4000.cpp b/src/devices/cpu/mips/r4000.cpp
index 2d51e7d0e8a..9d126121b1c 100644
--- a/src/devices/cpu/mips/r4000.cpp
+++ b/src/devices/cpu/mips/r4000.cpp
@@ -212,6 +212,8 @@ void r4000_base_device::device_reset()
m_ll_active = false;
m_bus_error = false;
+ m_cp0[CP0_Cause] = 0;
+
m_cp0[CP0_WatchLo] = 0;
m_cp0[CP0_WatchHi] = 0;