summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcpu.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2016-12-09 17:23:47 +0100
committer Olivier Galibert <galibert@pobox.com>2016-12-09 20:11:33 +0100
commit7f0ba30ec5abcfea8768d9157cc784050760b721 (patch)
treec4c2e087c1ddb202cdb834e61a704ce70f998d72 /src/emu/debug/debugcpu.cpp
parent962fda50bcb0ecb874ddd8bb274926d59cdd1250 (diff)
sharc: Use standard memory maps [O. Galibert]
Diffstat (limited to 'src/emu/debug/debugcpu.cpp')
-rw-r--r--src/emu/debug/debugcpu.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/debug/debugcpu.cpp b/src/emu/debug/debugcpu.cpp
index 9f2418869d4..e344e2cf5ff 100644
--- a/src/emu/debug/debugcpu.cpp
+++ b/src/emu/debug/debugcpu.cpp
@@ -878,6 +878,7 @@ u64 debugger_cpu::read_opcode(address_space &space, offs_t address, int size)
/* dump opcodes in qwords from a qword-sized bus */
case 88:
+ case 86: // sharc case, 48-bits opcodes
break;
default:
@@ -925,6 +926,7 @@ u64 debugger_cpu::read_opcode(address_space &space, offs_t address, int size)
break;
case 8:
+ case 6:
result = space.direct().read_qword(address & ~7, addrxor);
if (!QWORD_ALIGNED(address))
{
@@ -3426,6 +3428,7 @@ void device_debug::tracer::update(offs_t pc)
// log this PC
m_nextdex = (m_nextdex + 1) % TRACE_LOOPS;
m_history[m_nextdex] = pc;
+ fflush(&m_file);
}
@@ -3437,6 +3440,7 @@ void device_debug::tracer::vprintf(const char *format, va_list va)
{
// pass through to the file
vfprintf(&m_file, format, va);
+ fflush(&m_file);
}