diff options
Diffstat (limited to 'src/devices/cpu/powerpc/ppccom.cpp')
-rw-r--r-- | src/devices/cpu/powerpc/ppccom.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/devices/cpu/powerpc/ppccom.cpp b/src/devices/cpu/powerpc/ppccom.cpp index d9b4cf3ba96..42b5be40ace 100644 --- a/src/devices/cpu/powerpc/ppccom.cpp +++ b/src/devices/cpu/powerpc/ppccom.cpp @@ -11,7 +11,7 @@ #include "emu.h" #include "ppccom.h" #include "ppcfe.h" - +#include "ppc_dasm.h" /*************************************************************************** DEBUGGING @@ -1165,11 +1165,9 @@ void ppc_device::device_reset() CPU -------------------------------------------------*/ -offs_t ppc_device::disasm_disassemble(std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options) +util::disasm_interface *ppc_device::create_disassembler() { - uint32_t op = *(uint32_t *)oprom; - op = big_endianize_int32(op); - return ppc_dasm_one(stream, pc, op); + return new powerpc_disassembler; } |