summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/tms34010/34010ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/tms34010/34010ops.c')
-rw-r--r--src/emu/cpu/tms34010/34010ops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/cpu/tms34010/34010ops.c b/src/emu/cpu/tms34010/34010ops.c
index daca86acd09..35817e17646 100644
--- a/src/emu/cpu/tms34010/34010ops.c
+++ b/src/emu/cpu/tms34010/34010ops.c
@@ -78,13 +78,13 @@ static void unimpl(tms34010_state *tms, UINT16 op)
{
/* kludge for Super High Impact -- this doesn't seem to cause */
/* an illegal opcode exception */
- if (program_decrypted_read_word(TOBYTE(tms->pc - 0x10)) == 0x0007)
+ if (memory_decrypted_read_word(tms->program, TOBYTE(tms->pc - 0x10)) == 0x0007)
return;
/* 9 Ball Shootout calls to FFDF7468, expecting it */
/* to execute the next instruction from FFDF7470 */
/* but the instruction at FFDF7460 is an 0x0001 */
- if (program_decrypted_read_word(TOBYTE(tms->pc - 0x10)) == 0x0001)
+ if (memory_decrypted_read_word(tms->program, TOBYTE(tms->pc - 0x10)) == 0x0001)
return;
PUSH(tms, tms->pc);
@@ -95,7 +95,7 @@ static void unimpl(tms34010_state *tms, UINT16 op)
COUNT_UNKNOWN_CYCLES(tms,16);
/* extra check to prevent bad things */
- if (tms->pc == 0 || opcode_table[program_decrypted_read_word(TOBYTE(tms->pc)) >> 4] == unimpl)
+ if (tms->pc == 0 || opcode_table[memory_decrypted_read_word(tms->program, TOBYTE(tms->pc)) >> 4] == unimpl)
{
cpu_set_input_line(tms->device, INPUT_LINE_HALT, ASSERT_LINE);
debugger_break(tms->device->machine);
@@ -2062,7 +2062,7 @@ static void blmove(tms34010_state *tms, UINT16 op)
{
while (bits >= 16 && tms->icount > 0)
{
- TMS34010_WRMEM_WORD(TOBYTE(dst), TMS34010_RDMEM_WORD(TOBYTE(src)));
+ TMS34010_WRMEM_WORD(tms, TOBYTE(dst), TMS34010_RDMEM_WORD(tms, TOBYTE(src)));
src += 0x10;
dst += 0x10;
bits -= 0x10;