summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sh/sh2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/sh/sh2.cpp')
-rw-r--r--src/devices/cpu/sh/sh2.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/devices/cpu/sh/sh2.cpp b/src/devices/cpu/sh/sh2.cpp
index 9a9b28b306d..4678ad5ffca 100644
--- a/src/devices/cpu/sh/sh2.cpp
+++ b/src/devices/cpu/sh/sh2.cpp
@@ -95,7 +95,7 @@
#include "emu.h"
#include "sh2.h"
#include "sh2comn.h"
-
+#include "sh_dasm.h"
#include "debugger.h"
//#define VERBOSE 1
@@ -200,13 +200,11 @@ device_memory_interface::space_config_vector sh2_device::memory_space_config() c
};
}
-offs_t sh2_device::disasm_disassemble(std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options)
+util::disasm_interface *sh2_device::create_disassembler()
{
- extern CPU_DISASSEMBLE( sh2 );
- return CPU_DISASSEMBLE_NAME( sh2 )(this, stream, pc, oprom, opram, options);
+ return new sh_disassembler(false);
}
-
uint8_t sh2_device::RB(offs_t A)
{
if((A & 0xf0000000) == 0 || (A & 0xf0000000) == 0x20000000)