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/dvmemory.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/emu/debug/dvmemory.cpp') diff --git a/src/emu/debug/dvmemory.cpp b/src/emu/debug/dvmemory.cpp index 3ae8008f0a2..cb76055986e 100644 --- a/src/emu/debug/dvmemory.cpp +++ b/src/emu/debug/dvmemory.cpp @@ -142,7 +142,6 @@ void debug_view_memory::enumerate_sources() { // start with an empty list m_source_list.clear(); - m_source_list.reserve(machine().save().registration_count()); // first add all the devices' address spaces for (device_memory_interface &memintf : memory_interface_enumerator(machine().root_device())) @@ -168,7 +167,7 @@ void debug_view_memory::enumerate_sources() util::string_format("Region '%s'", region.second->name()), *region.second.get())); } - +/* // finally add all global array symbols in ASCII order std::string name; std::size_t const firstsave = m_source_list.size(); @@ -190,7 +189,7 @@ void debug_view_memory::enumerate_sources() // reset the source to a known good entry if (!m_source_list.empty()) - set_source(*m_source_list[0]); + set_source(*m_source_list[0]);*/ } -- cgit v1.2.3