diff options
Diffstat (limited to 'src/mame/video/seta2.cpp')
-rw-r--r-- | src/mame/video/seta2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/seta2.cpp b/src/mame/video/seta2.cpp index e165212cf96..cea97916aa6 100644 --- a/src/mame/video/seta2.cpp +++ b/src/mame/video/seta2.cpp @@ -318,7 +318,7 @@ inline void seta2_state::drawgfx_line(bitmap_ind16& bitmap, const rectangle& cli if (!use_shadow) shadow = 0; - uint16_t* dest = &bitmap.pix16(screenline); + uint16_t *const dest = &bitmap.pix(screenline); int minx = cliprect.min_x << 16; int maxx = (cliprect.max_x + 1) << 16; @@ -927,7 +927,7 @@ void staraudi_state::draw_rgbram(bitmap_ind16 &bitmap) { int offs = x * 2/2 + y * 0x400/2; uint32_t data = ((m_rgbram[offs + 0x40000/2] & 0xff) << 16) | m_rgbram[offs]; - bitmap.pix16(y, x) = (data & 0x7fff); + bitmap.pix(y, x) = (data & 0x7fff); } } } |