diff options
Diffstat (limited to 'src/mame/drivers/hitpoker.cpp')
-rw-r--r-- | src/mame/drivers/hitpoker.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mame/drivers/hitpoker.cpp b/src/mame/drivers/hitpoker.cpp index cafebdb5861..42c04794e49 100644 --- a/src/mame/drivers/hitpoker.cpp +++ b/src/mame/drivers/hitpoker.cpp @@ -93,7 +93,7 @@ private: DECLARE_WRITE_LINE_MEMBER(hitpoker_irq); DECLARE_READ8_MEMBER(irq_clear_r); virtual void video_start() override; - uint32_t screen_update_hitpoker(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update_hitpoker(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); required_device<mc68hc11_cpu_device> m_maincpu; required_device<gfxdecode_device> m_gfxdecode; required_device<palette_device> m_palette; @@ -111,12 +111,12 @@ void hitpoker_state::video_start() m_colorram = std::make_unique<uint8_t[]>(0x2000); } -uint32_t hitpoker_state::screen_update_hitpoker(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t hitpoker_state::screen_update_hitpoker(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { int count = 0; int y,x; - bitmap.fill(0, cliprect); + bitmap.fill(rgb_t::black(), cliprect); for (y=0;y<31;y++) { @@ -478,7 +478,6 @@ void hitpoker_state::hitpoker(machine_config &config) screen.set_size(648, 480); //setted by the CRTC screen.set_visarea(0, 648-1, 0, 240-1); screen.set_screen_update(FUNC(hitpoker_state::screen_update_hitpoker)); - screen.set_palette(m_palette); h46505_device &crtc(H46505(config, "crtc", CRTC_CLOCK/2)); /* hand tuned to get ~60 fps */ crtc.set_screen("screen"); |