summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/xybots.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/xybots.cpp')
-rw-r--r--src/mame/video/xybots.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/video/xybots.cpp b/src/mame/video/xybots.cpp
index a512800da3d..9da142807b9 100644
--- a/src/mame/video/xybots.cpp
+++ b/src/mame/video/xybots.cpp
@@ -98,8 +98,8 @@ uint32_t xybots_state::screen_update_xybots(screen_device &screen, bitmap_ind16
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)
{
@@ -117,9 +117,9 @@ uint32_t xybots_state::screen_update_xybots(screen_device &screen, bitmap_ind16
else
GPC(P3-0) = ~MOCOL3-0
*/
- int mopriority = (mo[x] >> atari_motion_objects_device::PRIORITY_SHIFT) ^ 15;
- int pfcolor = (pf[x] >> 4) & 0x0f;
- int prien = ((mo[x] & 0x0f) > 1);
+ int const mopriority = (mo[x] >> atari_motion_objects_device::PRIORITY_SHIFT) ^ 15;
+ int const pfcolor = (pf[x] >> 4) & 0x0f;
+ int const prien = ((mo[x] & 0x0f) > 1);
if (prien)
{