From 668d136926b54cf3407baa7cf5a2ea0798aa5849 Mon Sep 17 00:00:00 2001 From: AJR Date: Tue, 26 May 2020 09:19:40 -0400 Subject: [PATCH] Fix crash when attempting to write to memory from debugger (nw) --- src/emu/debug/express.cpp | 4 ++-- 1 file 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(); }