diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2018-10-23 09:04:25 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2018-10-23 09:04:25 -0400 |
commit | 969175269df2898bebc65b5e63ff74a8acdd3c36 (patch) | |
tree | 37671ebd08d3aaa2ad056034f8568ca45aa033d9 | |
parent | f16d70d90e15f92bce2dc23728de7c07131e9981 (diff) |
Invalidate memory access caches when removing watchpoints to prevent crashes on subsequent accesses to the same memory areas
-rw-r--r-- | src/emu/emumem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/emumem.cpp b/src/emu/emumem.cpp index 891fd3caeb7..57aabaab592 100644 --- a/src/emu/emumem.cpp +++ b/src/emu/emumem.cpp @@ -408,6 +408,7 @@ public: } virtual void remove_passthrough(std::unordered_set<handler_entry *> &handlers) override { + invalidate_caches(read_or_write::READWRITE); m_root_read->detach(handlers); m_root_write->detach(handlers); } |