mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
emumem_aspace: Unref the root dispatch when destroying the address space
This commit is contained in:
parent
5d1a567164
commit
a7e18d4355
@ -347,6 +347,11 @@ public:
|
||||
m_dispatch_write = m_root_write->get_dispatch();
|
||||
}
|
||||
|
||||
virtual ~address_space_specific() {
|
||||
m_root_read ->unref();
|
||||
m_root_write->unref();
|
||||
}
|
||||
|
||||
std::pair<void *, void *> get_cache_info() override {
|
||||
std::pair<void *, void *> rw;
|
||||
rw.first = m_root_read;
|
||||
|
Loading…
Reference in New Issue
Block a user