From 0edda6dda2011891345f33f0f77c256b059abebf Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Thu, 19 Aug 2010 08:27:05 +0000 Subject: Remove memory_read/write_byte/word/dword/qword* variants. Again, this is mostly bulk search & replace: S: memory_read_([bytewordq]+)_[0-9lbe_maskd]+( *)\(( *)([^,]+)( *),( *) R: \4->read_\1\2\(\3 S: memory_read_([bytewordq]+)( *)\(( *)([^,]+)( *),( *) R: \4->read_\1\2\(\3 S: memory_write_([bytewordq]+)_[0-9lbe_maskd]+( *)\(( *)([^,]+)( *),( *) R: \4->write_\1\2\(\3 S: memory_write_([bytewordq]+)( *)\(( *)([^,]+)( *),( *) R: \4->write_\1\2\(\3 Gets 99% of the cases. --- src/emu/cpu/m6502/mincce02.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/emu/cpu/m6502/mincce02.h') diff --git a/src/emu/cpu/m6502/mincce02.h b/src/emu/cpu/m6502/mincce02.h index 3888f9af412..769f6ac477f 100644 --- a/src/emu/cpu/m6502/mincce02.h +++ b/src/emu/cpu/m6502/mincce02.h @@ -65,5 +65,5 @@ #define PEEK_OP() memory_decrypted_read_byte(cpustate->space, PCW) -#define RDMEM(addr) memory_read_byte_8le(cpustate->space, addr); cpustate->icount -= 1 -#define WRMEM(addr,data) memory_write_byte_8le(cpustate->space, addr,data); cpustate->icount -= 1 +#define RDMEM(addr) cpustate->space->read_byte(addr); cpustate->icount -= 1 +#define WRMEM(addr,data) cpustate->space->write_byte(addr,data); cpustate->icount -= 1 -- cgit v1.2.3-70-g09d2