diff options
author | 2020-11-12 15:52:20 +0100 | |
---|---|---|
committer | 2020-11-22 19:43:52 +0100 | |
commit | 574daf4e49e7e9ef4641f363bd2b007c5a414d47 (patch) | |
tree | b43ca91fa36fbc26e54316de5a33069c85e1df9d /src/emu/debug/debugcmd.cpp | |
parent | 8d4559070f10367dac4fb7f7721b1f3e91098c75 (diff) |
Implement views, which are essentially bankdevs integrated into the
memory map system. [O. Galibert]
Diffstat (limited to 'src/emu/debug/debugcmd.cpp')
-rw-r--r-- | src/emu/debug/debugcmd.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp index a5856a9b794..949f1194061 100644 --- a/src/emu/debug/debugcmd.cpp +++ b/src/emu/debug/debugcmd.cpp @@ -3767,10 +3767,15 @@ void debugger_commands::execute_memdump(int ref, const std::vector<std::string> for (memory_entry &entry : entries[mode]) { if (octal) - fprintf(file, "%0*o - %0*o", nc, entry.start, nc, entry.end); + fprintf(file, "%0*o - %0*o:", nc, entry.start, nc, entry.end); else - fprintf(file, "%0*x - %0*x", nc, entry.start, nc, entry.end); - fprintf(file, ": %s\n", entry.entry->name().c_str()); + fprintf(file, "%0*x - %0*x:", nc, entry.start, nc, entry.end); + for(const auto &c : entry.context) + if(c.disabled) + fprintf(file, " %s[off]", c.view->name().c_str()); + else + fprintf(file, " %s[%d]", c.view->name().c_str(), c.slot); + fprintf(file, " %s\n", entry.entry->name().c_str()); } fprintf(file, "\n"); } |