diff options
Diffstat (limited to 'src/mame/drivers/corona.cpp')
-rw-r--r-- | src/mame/drivers/corona.cpp | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/mame/drivers/corona.cpp b/src/mame/drivers/corona.cpp index d8bd5d0ae54..90c58278ed9 100644 --- a/src/mame/drivers/corona.cpp +++ b/src/mame/drivers/corona.cpp @@ -499,22 +499,18 @@ void corona_state::video_start() uint32_t corona_state::screen_update_winner(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { - int x, y; - - for (y = 0; y < 256; y++) - for (x = 0; x < 256; x++) - bitmap.pix16(y, x) = m_videobuf[y * 512 + x]; + for (int y = 0; y < 256; y++) + for (int x = 0; x < 256; x++) + bitmap.pix(y, x) = m_videobuf[y * 512 + x]; return 0; } uint32_t corona_state::screen_update_luckyrlt(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { - int x, y; - - for (y = 0; y < 256; y++) - for (x = 0; x < 256; x++) - bitmap.pix16(255 - y, x) = m_videobuf[y * 512 + x]; + for (int y = 0; y < 256; y++) + for (int x = 0; x < 256; x++) + bitmap.pix(255 - y, x) = m_videobuf[y * 512 + x]; return 0; } |