diff options
author | 2019-07-11 09:07:20 +1000 | |
---|---|---|
committer | 2019-07-11 09:07:20 +1000 | |
commit | df99ce2ec0e82020a6fee89f4ffaf7f1468fec31 (patch) | |
tree | f6b1459a7e882047476bf817a410ab44eac3e99a /src/mame/drivers/istellar.cpp | |
parent | 704355279e6b62fa93d80e948073f90eba0032f2 (diff) | |
parent | 5eaac5e857176b56c990f6bb864a1a5c27b6cf6d (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/mame/drivers/istellar.cpp')
-rw-r--r-- | src/mame/drivers/istellar.cpp | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/mame/drivers/istellar.cpp b/src/mame/drivers/istellar.cpp index f31809d82d2..a9d4bd4166d 100644 --- a/src/mame/drivers/istellar.cpp +++ b/src/mame/drivers/istellar.cpp @@ -77,24 +77,21 @@ private: /* VIDEO GOODS */ uint32_t istellar_state::screen_update_istellar(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { - int x, y; - /* clear */ bitmap.fill(0, cliprect); /* Draw tiles */ - for (y = 0; y < 32; y++) + for (int y = 0; y < 32; y++) { - for (x = 0; x < 32; x++) + for (int x = 0; x < 32; x++) { - int tile = m_tile_ram[x+y*32]; - int attr = m_tile_control_ram[x+y*32]; + int tile = m_tile_ram[x + y * 32]; + int attr = m_tile_control_ram[x + y * 32]; - m_gfxdecode->gfx(0)->transpen(bitmap,cliprect,tile,attr & 0x0f,0, 0, x*8, y*8, 0); + m_gfxdecode->gfx(0)->transpen(bitmap, cliprect, tile, attr & 0x0f, 0, 0, x * 8, y * 8, 0); } } - /* Draw sprites */ return 0; @@ -298,7 +295,6 @@ void istellar_state::istellar(machine_config &config) PIONEER_LDV1000(config, m_laserdisc, 0); m_laserdisc->set_overlay(256, 256, FUNC(istellar_state::screen_update_istellar)); - m_laserdisc->set_overlay_palette(m_palette); m_laserdisc->add_route(0, "lspeaker", 1.0); m_laserdisc->add_route(1, "rspeaker", 1.0); |