summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/1945kiii.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/1945kiii.cpp')
-rw-r--r--src/mame/drivers/1945kiii.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/1945kiii.cpp b/src/mame/drivers/1945kiii.cpp
index db424a83f54..1f78b084df1 100644
--- a/src/mame/drivers/1945kiii.cpp
+++ b/src/mame/drivers/1945kiii.cpp
@@ -234,8 +234,8 @@ void k3_state::k3_drawgfx(bitmap_ind16 &dest_bmp,const rectangle &clip,gfx_eleme
{ // skip if inner loop doesn't draw anything
for (int y = sy; y < ey; y++)
{
- const u8 *source = source_base + y_index * gfx->rowbytes();
- u16 *dest = &dest_bmp.pix16(y);
+ u8 const *const source = source_base + y_index * gfx->rowbytes();
+ u16 *const dest = &dest_bmp.pix(y);
int x_index = x_index_base;
for (int x = sx; x < ex; x++)
{