summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/mb88xx/mb88xx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/mb88xx/mb88xx.cpp')
-rw-r--r--src/devices/cpu/mb88xx/mb88xx.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/mb88xx/mb88xx.cpp b/src/devices/cpu/mb88xx/mb88xx.cpp
index b896a07c6cf..1473a3452ae 100644
--- a/src/devices/cpu/mb88xx/mb88xx.cpp
+++ b/src/devices/cpu/mb88xx/mb88xx.cpp
@@ -17,6 +17,7 @@
#include "emu.h"
#include "mb88xx.h"
+#include "mb88dasm.h"
#include "debugger.h"
@@ -162,10 +163,9 @@ device_memory_interface::space_config_vector mb88_cpu_device::memory_space_confi
};
}
-offs_t mb88_cpu_device::disasm_disassemble(std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options)
+util::disasm_interface *mb88_cpu_device::create_disassembler()
{
- extern CPU_DISASSEMBLE( mb88 );
- return CPU_DISASSEMBLE_NAME(mb88)(this, stream, pc, oprom, opram, options);
+ return new mb88_disassembler;
}
@@ -176,7 +176,7 @@ offs_t mb88_cpu_device::disasm_disassemble(std::ostream &stream, offs_t pc, cons
void mb88_cpu_device::device_start()
{
m_program = &space(AS_PROGRAM);
- m_direct = &m_program->direct();
+ m_direct = m_program->direct<0>();
m_data = &space(AS_DATA);
m_read_k.resolve_safe(0);