From 2024b61079509b9f1ef692ff3f9e63007a831f6f Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Thu, 15 Apr 2021 09:25:42 -0700 Subject: g update: * Removed old saving mechanism entirely, including internal lists of items. * Removed old logic saving to streams/buffers/files. * Removed old state item iterator; a new mechanism will need to be created for this. Stubbed out debugger and LUA calls to it for now. * Replaced the streams/buffers saves with the new binary save; these are presumed to be 100% internal, so there is no header checking or other associated logic. * Stubbed in incomplete file handling for JSON-based saves; large arrays are identified and referenced as external, though ZIP writing has not been done yet. * Redid JSON generation using an internal buffer and helpers for speed. * Added sorting and pruning of save items after registration. * Added detection of duplicate entries. * Fixed display of long names in save window. * Moved timers into their own container. --- src/emu/debug/debugcmd.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/emu/debug/debugcmd.cpp') diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp index 33ccb530f20..ec9f9a2d66c 100644 --- a/src/emu/debug/debugcmd.cpp +++ b/src/emu/debug/debugcmd.cpp @@ -130,6 +130,7 @@ debugger_commands::debugger_commands(running_machine& machine, debugger_cpu& cpu symtable.add("cpunum", std::bind(&debugger_commands::get_cpunum, this)); /* add all single-entry save state globals */ +#if 0 for (int itemnum = 0; itemnum < MAX_GLOBALS; itemnum++) { void *base; @@ -153,6 +154,7 @@ debugger_commands::debugger_commands(running_machine& machine, debugger_cpu& cpu std::bind(&debugger_commands::global_set, this, &m_global_array[itemnum], _1)); } } +#endif /* add all the commands */ m_console.register_command("help", CMDFLAG_NONE, 0, 0, 1, std::bind(&debugger_commands::execute_help, this, _1, _2)); -- cgit v1.2.3