diff options
| author | 2021-04-15 09:25:42 -0700 | |
|---|---|---|
| committer | 2021-04-15 09:25:42 -0700 | |
| commit | 2024b61079509b9f1ef692ff3f9e63007a831f6f (patch) | |
| tree | 7c43de9fb0afc17e74e94272dce8e66dbbfac9b1 /src/emu/debug/debugcmd.cpp | |
| parent | 98e8ed32043d8d47fe63b6565c452dc61182fd02 (diff) | |
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.
Diffstat (limited to 'src/emu/debug/debugcmd.cpp')
| -rw-r--r-- | src/emu/debug/debugcmd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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)); |
