summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mips.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mips.cpp')
-rw-r--r--src/mame/drivers/mips.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/mips.cpp b/src/mame/drivers/mips.cpp
index 9ef0a333ae8..27afe08ecad 100644
--- a/src/mame/drivers/mips.cpp
+++ b/src/mame/drivers/mips.cpp
@@ -918,8 +918,8 @@ u32 rx3230_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, rec
u16 rx3230_state::lance_r(offs_t offset, u16 mem_mask)
{
u16 const data =
- (m_ram->read(WORD_XOR_BE(offset + 1)) << 8) |
- m_ram->read(WORD_XOR_BE(offset + 0));
+ (m_ram->read(BYTE4_XOR_BE(offset + 0)) << 8) |
+ m_ram->read(BYTE4_XOR_BE(offset + 1));
return data;
}
@@ -927,10 +927,10 @@ u16 rx3230_state::lance_r(offs_t offset, u16 mem_mask)
void rx3230_state::lance_w(offs_t offset, u16 data, u16 mem_mask)
{
if (ACCESSING_BITS_0_7)
- m_ram->write(WORD_XOR_BE(offset + 0), data);
+ m_ram->write(BYTE4_XOR_BE(offset + 1), data);
if (ACCESSING_BITS_8_15)
- m_ram->write(WORD_XOR_BE(offset + 1), data >> 8);
+ m_ram->write(BYTE4_XOR_BE(offset + 0), data >> 8);
}
ROM_START(rx2030)