summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/midw8080/8080bw_v.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/midw8080/8080bw_v.cpp')
-rw-r--r--src/mame/midw8080/8080bw_v.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/midw8080/8080bw_v.cpp b/src/mame/midw8080/8080bw_v.cpp
index 6d8b831db30..660cc5b6bf7 100644
--- a/src/mame/midw8080/8080bw_v.cpp
+++ b/src/mame/midw8080/8080bw_v.cpp
@@ -417,7 +417,7 @@ uint32_t vortex_state::screen_update_vortex(screen_device &screen, bitmap_rgb32
{
offs_t const offs = (offs_t(y) << 5) | (x >> 3);
video_data = m_main_ram[offs];
- uint8_t const pix = BIT(m_main_ram[offs + 1], 0);
+ uint8_t const pix = BIT(m_main_ram[(offs + 1) & 0x1fff], 0);
col = rgb_t(pix ? 0 : 255, pix ? 255 : 0, BIT(x, 5) ? 255 : 0);
}