diff options
Diffstat (limited to 'src/mame/video/deco32.cpp')
-rw-r--r-- | src/mame/video/deco32.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/video/deco32.cpp b/src/mame/video/deco32.cpp index afc17a93a69..6a225cc1c42 100644 --- a/src/mame/video/deco32.cpp +++ b/src/mame/video/deco32.cpp @@ -261,11 +261,11 @@ void nslasher_state::mix_nslasher(screen_device &screen, bitmap_rgb32 &bitmap, c /* Mix sprites into main bitmap, based on priority & alpha */ for (int y = cliprect.top(); y <= cliprect.bottom(); y++) { - const u16* sprite0 = &sprite0_mix_bitmap.pix16(y); - const u16* sprite1 = &sprite1_mix_bitmap.pix16(y); - const u16* alphaTilemap = &m_tilemap_alpha_bitmap->pix16(y); - const u8* tilemapPri = &screen.priority().pix8(y); - u32* destLine = &bitmap.pix32(y); + const u16* sprite0 = &sprite0_mix_bitmap.pix(y); + const u16* sprite1 = &sprite1_mix_bitmap.pix(y); + const u16* alphaTilemap = &m_tilemap_alpha_bitmap->pix(y); + const u8* tilemapPri = &screen.priority().pix(y); + u32* destLine = &bitmap.pix(y); for (int x = cliprect.left(); x <= cliprect.right(); x++) { @@ -465,11 +465,11 @@ void nslasher_state::mix_tattass(screen_device &screen, bitmap_rgb32 &bitmap, co /* Mix sprites into main bitmap, based on priority & alpha */ for (int y = cliprect.top(); y <= cliprect.bottom(); y++) { - const u16* sprite0 = &sprite0_mix_bitmap.pix16(y); - const u16* sprite1 = &sprite1_mix_bitmap.pix16(y); - const u16* alphaTilemap = &m_tilemap_alpha_bitmap->pix16(y); - const u8* tilemapPri = &screen.priority().pix8(y); - u32* destLine = &bitmap.pix32(y); + const u16* sprite0 = &sprite0_mix_bitmap.pix(y); + const u16* sprite1 = &sprite1_mix_bitmap.pix(y); + const u16* alphaTilemap = &m_tilemap_alpha_bitmap->pix(y); + const u8* tilemapPri = &screen.priority().pix(y); + u32* destLine = &bitmap.pix(y); for (int x = cliprect.left(); x <= cliprect.right(); x++) { |