summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/z80
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-08-19 08:27:05 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-08-19 08:27:05 +0000
commit0edda6dda2011891345f33f0f77c256b059abebf (patch)
tree90ba2b62ff911ff1bc737a56025e58155e9ce4dc /src/emu/cpu/z80
parent3598b772bc80b2efb6396c65996462b38eedc593 (diff)
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.
Diffstat (limited to 'src/emu/cpu/z80')
-rw-r--r--src/emu/cpu/z80/z80.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/cpu/z80/z80.c b/src/emu/cpu/z80/z80.c
index c4c79a91626..ab46e6cae52 100644
--- a/src/emu/cpu/z80/z80.c
+++ b/src/emu/cpu/z80/z80.c
@@ -595,17 +595,17 @@ INLINE void BURNODD(z80_state *z80, int cycles, int opcodes, int cyclesum)
/***************************************************************
* Input a byte from given I/O port
***************************************************************/
-#define IN(Z,port) memory_read_byte_8le((Z)->io, port)
+#define IN(Z,port) (Z)->io->read_byte(port)
/***************************************************************
* Output a byte to given I/O port
***************************************************************/
-#define OUT(Z,port,value) memory_write_byte_8le((Z)->io, port, value)
+#define OUT(Z,port,value) (Z)->io->write_byte(port, value)
/***************************************************************
* Read a byte from given memory location
***************************************************************/
-#define RM(Z,addr) memory_read_byte_8le((Z)->program, addr)
+#define RM(Z,addr) (Z)->program->read_byte(addr)
/***************************************************************
* Read a word from given memory location
@@ -619,7 +619,7 @@ INLINE void RM16(z80_state *z80, UINT32 addr, PAIR *r)
/***************************************************************
* Write a byte to given memory location
***************************************************************/
-#define WM(Z,addr,value) memory_write_byte_8le((Z)->program, addr, value)
+#define WM(Z,addr,value) (Z)->program->write_byte(addr, value)
/***************************************************************
* Write a word to given memory location