summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/cheat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/cheat.cpp')
-rw-r--r--src/frontend/mame/cheat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/cheat.cpp b/src/frontend/mame/cheat.cpp
index a2d4eeadc1f..0a9bedbb44a 100644
--- a/src/frontend/mame/cheat.cpp
+++ b/src/frontend/mame/cheat.cpp
@@ -1078,10 +1078,10 @@ cheat_manager::cheat_manager(running_machine &machine)
// we rely on the debugger expression callbacks; if the debugger isn't
// enabled, we must jumpstart them manually
if ((machine.debug_flags & DEBUG_FLAG_ENABLED) == 0)
- debug_cpu_init(machine);
+ m_cpu = std::make_unique<debugger_cpu>(machine);
// configure for memory access (shared with debugger)
- debug_cpu_configure_memory(machine, m_symtable);
+ m_cpu->configure_memory(m_symtable);
// load the cheats
reload();