diff options
Diffstat (limited to 'src/devices/cpu/z180/z180.cpp')
-rw-r--r-- | src/devices/cpu/z180/z180.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/devices/cpu/z180/z180.cpp b/src/devices/cpu/z180/z180.cpp index b1abdef1c4b..560f267e7a1 100644 --- a/src/devices/cpu/z180/z180.cpp +++ b/src/devices/cpu/z180/z180.cpp @@ -52,6 +52,7 @@ Hitachi HD647180 series: #include "emu.h" #include "z180.h" +#include "z180dasm.h" #include "debugger.h" //#define VERBOSE 1 @@ -89,14 +90,11 @@ z180_device::z180_device(const machine_config &mconfig, const char *tag, device_ { } - -offs_t z180_device::disasm_disassemble(std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options) +util::disasm_interface *z180_device::create_disassembler() { - extern CPU_DISASSEMBLE( z180 ); - return CPU_DISASSEMBLE_NAME(z180)(this, stream, pc, oprom, opram, options); + return new z180_disassembler; } - #define CF 0x01 #define NF 0x02 #define PF 0x04 |