summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/t11/t11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/t11/t11.cpp')
-rw-r--r--src/devices/cpu/t11/t11.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/devices/cpu/t11/t11.cpp b/src/devices/cpu/t11/t11.cpp
index dba6241b553..1747c79b64a 100644
--- a/src/devices/cpu/t11/t11.cpp
+++ b/src/devices/cpu/t11/t11.cpp
@@ -13,6 +13,7 @@
#include "emu.h"
#include "t11.h"
+#include "t11dasm.h"
#include "debugger.h"
@@ -260,7 +261,7 @@ void t11_device::device_start()
m_initial_pc = initial_pc[c_initial_mode >> 13];
m_program = &space(AS_PROGRAM);
- m_direct = &m_program->direct();
+ m_direct = m_program->direct<0>();
m_out_reset_func.resolve_safe();
save_item(NAME(m_ppc.w.l));
@@ -422,9 +423,7 @@ void t11_device::execute_run()
} while (m_icount > 0);
}
-
-offs_t t11_device::disasm_disassemble(std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options)
+util::disasm_interface *t11_device::create_disassembler()
{
- extern CPU_DISASSEMBLE( t11 );
- return CPU_DISASSEMBLE_NAME(t11)(this, stream, pc, oprom, opram, options);
+ return new t11_disassembler;
}