diff options
Diffstat (limited to 'src/devices/video/i82730.cpp')
-rw-r--r-- | src/devices/video/i82730.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/i82730.cpp b/src/devices/video/i82730.cpp index d344c7006ef..8cd78863df3 100644 --- a/src/devices/video/i82730.cpp +++ b/src/devices/video/i82730.cpp @@ -128,7 +128,7 @@ UINT16 i82730_device::read_word(offs_t address) { UINT16 data; - if (sysbus_16bit() && !(address & 1)) + if (sysbus_16bit() && WORD_ALIGNED(address)) { data = m_program->read_word(address); } @@ -148,7 +148,7 @@ void i82730_device::write_byte(offs_t address, UINT8 data) void i82730_device::write_word(offs_t address, UINT16 data) { - if (sysbus_16bit() && !(address & 1)) + if (sysbus_16bit() && WORD_ALIGNED(address)) { m_program->write_word(address, data); } |