mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
Fix crash when attempting to write to memory from debugger (nw)
This commit is contained in:
parent
186b50e8df
commit
668d136926
@ -552,8 +552,8 @@ void symbol_table::notify_memory_modified()
|
||||
{
|
||||
// walk up the table hierarchy to find the owner
|
||||
for (symbol_table *symtable = this; symtable != nullptr; symtable = symtable->m_parent)
|
||||
if (symtable->m_memory_modified != nullptr)
|
||||
m_memory_modified();
|
||||
if (symtable->m_memory_modified)
|
||||
symtable->m_memory_modified();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user