diff options
Diffstat (limited to 'src/mame/video/1943.cpp')
-rw-r--r-- | src/mame/video/1943.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/video/1943.cpp b/src/mame/video/1943.cpp index 545cb91a6da..1a23037cd9b 100644 --- a/src/mame/video/1943.cpp +++ b/src/mame/video/1943.cpp @@ -257,15 +257,15 @@ void _1943_state::_1943_drawgfx(bitmap_ind16 &dest_bmp,const rectangle &clip,gfx { // 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 *pri = &priority_bitmap.pix8(y); + u8 const *const source = source_base + y_index * gfx->rowbytes(); + u16 *const dest = &dest_bmp.pix(y); + u8 *const pri = &priority_bitmap.pix(y); int x_index = x_index_base; for (int x = sx; x < ex; x++) { if (!(pri[x] & 0x80)) { - u8 c = source[x_index]; + u8 const c = source[x_index]; if (c != transparent_color) { // the priority is actually selected by bit 3 of BMPROM.07 |