diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2019-05-10 15:38:17 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2019-05-10 15:38:24 -0400 |
commit | cc46387d515da8edbdaa84544aa21fef83a14e8e (patch) | |
tree | 362343c247656d7634c051fa63230d4984291443 /src/mame/drivers/chance32.cpp | |
parent | 7641722f3240bad8fad8c22cb9b1be978752f54b (diff) |
Convert screen update functions to RGB32 in numerous games (nw)
This is intended to expedite CRTC-based video modernization.
Diffstat (limited to 'src/mame/drivers/chance32.cpp')
-rw-r--r-- | src/mame/drivers/chance32.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/drivers/chance32.cpp b/src/mame/drivers/chance32.cpp index 70c5dcfcec5..dbf35d5870c 100644 --- a/src/mame/drivers/chance32.cpp +++ b/src/mame/drivers/chance32.cpp @@ -67,7 +67,7 @@ private: TILE_GET_INFO_MEMBER(get_fg_tile_info); TILE_GET_INFO_MEMBER(get_bg_tile_info); - uint32_t screen_update_chance32(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update_chance32(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); void chance32_map(address_map &map); void chance32_portmap(address_map &map); @@ -117,7 +117,7 @@ void chance32_state::video_start() } -uint32_t chance32_state::screen_update_chance32(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t chance32_state::screen_update_chance32(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { m_bg_tilemap->draw(screen, bitmap, cliprect, 0, 0); m_fg_tilemap->draw(screen, bitmap, cliprect, 0, 0); @@ -474,7 +474,6 @@ void chance32_state::chance32(machine_config &config) screen.set_size(40*16, 32*8); screen.set_visarea(0, 35*16-1, 0, 29*8-1); screen.set_screen_update(FUNC(chance32_state::screen_update_chance32)); - screen.set_palette("palette"); h46505_device &crtc(H46505(config, "crtc", 12000000/16)); /* 52.786 Hz (similar to Major Poker) */ crtc.set_screen("screen"); |