diff options
| author | 2017-03-16 22:32:44 +0300 | |
|---|---|---|
| committer | 2017-03-16 22:34:04 +0300 | |
| commit | c2817ded96a9c7e3a446f1546d07633639d9abb6 (patch) | |
| tree | 36338ee7cdfd12ee88ea9b3594b4798d5d7258ab /src/emu/debug/debugcpu.h | |
| parent | 356ccfb017a34f8f3c33d8ff1e772e5182c673f8 (diff) | |
debugger: print octal addresses in the trace if CPU is octal.
Diffstat (limited to 'src/emu/debug/debugcpu.h')
| -rw-r--r-- | src/emu/debug/debugcpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/debug/debugcpu.h b/src/emu/debug/debugcpu.h index 5afb6fbceec..da97944d244 100644 --- a/src/emu/debug/debugcpu.h +++ b/src/emu/debug/debugcpu.h @@ -171,6 +171,7 @@ public: // commonly-used pass-throughs int logaddrchars() const { return (m_memory != nullptr && m_memory->has_space(AS_PROGRAM)) ? m_memory->space(AS_PROGRAM).logaddrchars() : 8; } + bool is_octal() const { return (m_memory != nullptr && m_memory->has_space(AS_PROGRAM)) ? m_memory->space(AS_PROGRAM).is_octal() : false; } device_t& device() const { return m_device; } // hooks used by the rest of the system |
