diff options
Diffstat (limited to 'src/emu/cpu/m6502/ops4510.h')
-rw-r--r-- | src/emu/cpu/m6502/ops4510.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/emu/cpu/m6502/ops4510.h b/src/emu/cpu/m6502/ops4510.h index a8ebd215a7c..82792bb83ae 100644 --- a/src/emu/cpu/m6502/ops4510.h +++ b/src/emu/cpu/m6502/ops4510.h @@ -59,3 +59,8 @@ UINT8 op = RDOP(); \ (*cpustate->insn[op])(cpustate); \ } + +#undef RDMEM_ID +#undef WRMEM_ID +#define RDMEM_ID(a) (cpustate->rdmem_id.isnull() ? cpustate->space->read_byte(M4510_MEM(a)) : cpustate->rdmem_id(M4510_MEM(a))) +#define WRMEM_ID(a,d) (cpustate->wrmem_id.isnull() ? cpustate->space->write_byte(M4510_MEM(a),d) : cpustate->wrmem_id(M4510_MEM(a),d)) |