mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
Invalidate memory access caches when removing watchpoints to prevent crashes on subsequent accesses to the same memory areas
This commit is contained in:
parent
f16d70d90e
commit
969175269d
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user