summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/igs017_igs031.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/igs017_igs031.cpp')
-rw-r--r--src/mame/video/igs017_igs031.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/igs017_igs031.cpp b/src/mame/video/igs017_igs031.cpp
index 9248d9074df..a214d93d2e4 100644
--- a/src/mame/video/igs017_igs031.cpp
+++ b/src/mame/video/igs017_igs031.cpp
@@ -305,8 +305,8 @@ void igs017_igs031_device::draw_sprite(bitmap_ind16 &bitmap, const rectangle &cl
{ // skip if inner loop doesn't draw anything
for (int y = sy; y < ey; y++)
{
- const u8 *source = source_base + y_index * dimx;
- u16 *dest = &bitmap.pix16(y);
+ u8 const *const source = source_base + y_index * dimx;
+ u16 *const dest = &bitmap.pix(y);
int x_index = x_index_base;
for (int x = sx; x < ex; x++)
{