summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/mcatadv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/mcatadv.cpp')
-rw-r--r--src/mame/video/mcatadv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/mcatadv.cpp b/src/mame/video/mcatadv.cpp
index 38b7da27c53..56d20dde833 100644
--- a/src/mame/video/mcatadv.cpp
+++ b/src/mame/video/mcatadv.cpp
@@ -84,8 +84,8 @@ void mcatadv_state::draw_sprites( screen_device &screen, bitmap_ind16 &bitmap, c
if ((drawypos >= cliprect.min_y) && (drawypos <= cliprect.max_y))
{
- u16 *destline = &bitmap.pix16(drawypos);
- u8 *priline = &screen.priority().pix8(drawypos);
+ u16 *const destline = &bitmap.pix(drawypos);
+ u8 *const priline = &screen.priority().pix(drawypos);
for (int xcnt = xstart; xcnt != xend; xcnt += xinc)
{