summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/lh5801/lh5801.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/lh5801/lh5801.cpp')
-rw-r--r--src/devices/cpu/lh5801/lh5801.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/lh5801/lh5801.cpp b/src/devices/cpu/lh5801/lh5801.cpp
index 2b4a3708e44..6ba677d1e17 100644
--- a/src/devices/cpu/lh5801/lh5801.cpp
+++ b/src/devices/cpu/lh5801/lh5801.cpp
@@ -16,6 +16,7 @@
#include "emu.h"
#include "lh5801.h"
+#include "5801dasm.h"
#include "debugger.h"
@@ -91,7 +92,7 @@ void lh5801_cpu_device::device_start()
{
m_program = &space(AS_PROGRAM);
m_io = &space(AS_IO);
- m_direct = &m_program->direct();
+ m_direct = m_program->direct<0>();
m_in_func.resolve_safe(0);
@@ -256,8 +257,7 @@ void lh5801_cpu_device::execute_set_input(int irqline, int state)
}
}
-offs_t lh5801_cpu_device::disasm_disassemble(std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options)
+util::disasm_interface *lh5801_cpu_device::create_disassembler()
{
- extern CPU_DISASSEMBLE( lh5801 );
- return CPU_DISASSEMBLE_NAME(lh5801)(this, stream, pc, oprom, opram, options);
+ return new lh5801_disassembler;
}