diff options
| author | 2020-05-26 09:19:40 -0400 | |
|---|---|---|
| committer | 2020-05-26 09:19:40 -0400 | |
| commit | 668d136926b54cf3407baa7cf5a2ea0798aa5849 (patch) | |
| tree | 345e444034689063125268765a90311459bd64bf /src/emu/debug/express.cpp | |
| parent | 186b50e8dfdca6878e694dcc1827672dcb8c5365 (diff) | |
Fix crash when attempting to write to memory from debugger (nw)
Diffstat (limited to 'src/emu/debug/express.cpp')
| -rw-r--r-- | src/emu/debug/express.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/debug/express.cpp b/src/emu/debug/express.cpp index 2f5da8d0dea..cc7d1f2ca51 100644 --- a/src/emu/debug/express.cpp +++ b/src/emu/debug/express.cpp @@ -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(); } |
