diff options
Diffstat (limited to 'src/mame/video/taito_f2.cpp')
-rw-r--r-- | src/mame/video/taito_f2.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/video/taito_f2.cpp b/src/mame/video/taito_f2.cpp index 4ece4e7b83f..a9477c0d9c4 100644 --- a/src/mame/video/taito_f2.cpp +++ b/src/mame/video/taito_f2.cpp @@ -357,9 +357,9 @@ void taitof2_state::taito_f2_tc360_spritemixdraw(screen_device &screen, bitmap_i { for (int y = sy; y < ey; y++) { - const u8 *source = source_base + (y_index >> 16) * gfx->rowbytes(); - u16 *dest = &dest_bmp.pix16(y); - u8 *pri = &priority_bitmap.pix8(y); + u8 const *const source = source_base + (y_index >> 16) * 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++) @@ -419,9 +419,9 @@ void taitof2_state::taito_f2_tc360_spritemixdraw(screen_device &screen, bitmap_i { for (int y = sy; y < ey; y++) { - const u8 *source = source_base + (y_index >> 16) * gfx->rowbytes(); - u16 *dest = &dest_bmp.pix16(y); - u8 *pri = &priority_bitmap.pix8(y); + u8 const *const source = source_base + (y_index >> 16) * 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++) |