summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/badlands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/badlands.cpp')
-rw-r--r--src/mame/video/badlands.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mame/video/badlands.cpp b/src/mame/video/badlands.cpp
index 9582a100e23..27fd00abf7e 100644
--- a/src/mame/video/badlands.cpp
+++ b/src/mame/video/badlands.cpp
@@ -114,13 +114,12 @@ uint32_t badlands_state::screen_update_badlands(screen_device &screen, bitmap_in
for (const sparse_dirty_rect *rect = m_mob->first_dirty_rect(cliprect); rect != nullptr; rect = rect->next())
for (int y = rect->top(); y <= rect->bottom(); y++)
{
- uint16_t *mo = &mobitmap.pix16(y);
- uint16_t *pf = &bitmap.pix16(y);
+ uint16_t const *const mo = &mobitmap.pix(y);
+ uint16_t *const pf = &bitmap.pix(y);
for (int x = rect->left(); x <= rect->right(); x++)
if (mo[x] != 0xffff)
{
- /* not yet verified
- */
+ // not yet verified
if ((mo[x] & atari_motion_objects_device::PRIORITY_MASK) || !(pf[x] & 8))
pf[x] = mo[x] & atari_motion_objects_device::DATA_MASK;
}