diff options
author | 2022-10-29 19:40:44 -0400 | |
---|---|---|
committer | 2022-10-29 19:40:44 -0400 | |
commit | 1af48b762c29e0f0a5dfddd1e5500623dc5baa99 (patch) | |
tree | 4685912bb16d53f87aa3380d62cfd686cc5ebb07 /src/devices/video | |
parent | 0747f93602e155ab411deaf8d35c88ea18cbffa2 (diff) |
Update various source files to use swapendian_int16
Diffstat (limited to 'src/devices/video')
-rw-r--r-- | src/devices/video/315_5313.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/video/315_5313.cpp b/src/devices/video/315_5313.cpp index eed0c2409c7..9d79b2dc396 100644 --- a/src/devices/video/315_5313.cpp +++ b/src/devices/video/315_5313.cpp @@ -433,7 +433,7 @@ void sega315_5313_device::vdp_vram_write(u16 data) if (m_vdp_address & 1) { - data = ((data & 0x00ff) << 8) | ((data & 0xff00) >> 8); + data = swapendian_int16(data); } vram_w(m_vdp_address >> 1, data); |