summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author MetalliC <0vetal0@gmail.com>2017-11-24 06:02:59 +0200
committer MetalliC <0vetal0@gmail.com>2017-11-24 06:02:59 +0200
commit077aaa21194fc8bb53385758ddf8cfc3c32f6c24 (patch)
treea187c63d5ca13cd5cd21c7659c256e93d4175f56
parent4fefa7401f6fce13eb4178cca696c60a4f296be7 (diff)
SH3/4 drc: reset drc cache
-rw-r--r--src/devices/cpu/sh/sh4.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/cpu/sh/sh4.cpp b/src/devices/cpu/sh/sh4.cpp
index 3f48939f116..adaf1a53e46 100644
--- a/src/devices/cpu/sh/sh4.cpp
+++ b/src/devices/cpu/sh/sh4.cpp
@@ -1633,6 +1633,7 @@ void sh34_base_device::device_reset()
m_sh2_state->sleep_mode = 0;
m_sh4_mmu_enabled = 0;
+ m_cache_dirty = true;
}
/*-------------------------------------------------