summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/express.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-05-26 09:19:40 -0400
committer AJR <ajrhacker@users.noreply.github.com>2020-05-26 09:19:40 -0400
commit668d136926b54cf3407baa7cf5a2ea0798aa5849 (patch)
tree345e444034689063125268765a90311459bd64bf /src/emu/debug/express.cpp
parent186b50e8dfdca6878e694dcc1827672dcb8c5365 (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.cpp4
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();
}