summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/chihiro.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/chihiro.cpp')
-rw-r--r--src/mame/drivers/chihiro.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mame/drivers/chihiro.cpp b/src/mame/drivers/chihiro.cpp
index 8bbdd7f4ed0..a30570a2de3 100644
--- a/src/mame/drivers/chihiro.cpp
+++ b/src/mame/drivers/chihiro.cpp
@@ -682,7 +682,6 @@ St. Instr. Comment
/* jamtable disassembler */
void chihiro_state::jamtable_disasm(address_space &space, uint32_t address, uint32_t size) // 0xff000080 == fff00080
{
- debugger_cpu &cpu = machine().debugger().cpu();
debugger_console &con = machine().debugger().console();
offs_t addr = (offs_t)address;
if (!space.device().memory().translate(space.spacenum(), TRANSLATE_READ_DEBUG, addr))
@@ -694,11 +693,11 @@ void chihiro_state::jamtable_disasm(address_space &space, uint32_t address, uint
{
offs_t base = addr;
- uint32_t opcode = cpu.read_byte(space, addr, true);
+ uint32_t opcode = space.read_byte(addr);
addr++;
- uint32_t op1 = cpu.read_dword(space, addr, true);
+ uint32_t op1 = space.read_dword_unaligned(addr);
addr += 4;
- uint32_t op2 = cpu.read_dword(space, addr, true);
+ uint32_t op2 = space.read_dword_unaligned(addr);
addr += 4;
char sop1[16];