Skip to content

Commit 34ab33b

Browse files
committed
bpoker: fix vram banking
1 parent 30ab551 commit 34ab33b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/mame/igt/fortune1.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,6 @@ VIDEO_START_MEMBER(videopkr_state,vidadcba)
603603

604604
uint32_t videopkr_state::screen_update_videopkr(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
605605
{
606-
m_bg_tilemap->mark_all_dirty();
607606
m_bg_tilemap->draw(screen, bitmap, cliprect, 0, 0);
608607
return 0;
609608
}
@@ -913,6 +912,9 @@ void babypkr_state::bpoker_p1_data_w(uint8_t data)
913912
{
914913
m_p1 = data;
915914

915+
m_videobank->set_entry((data >> 6) & 0x03);
916+
m_colorbank->set_entry((data >> 6) & 0x03);
917+
916918
m_lamps[8] = BIT(data, 0); // Aux_0 - Jackpot mechanical counter (Baby Games)
917919
m_lamps[9] = BIT(data, 1); // Aux_1 -
918920
m_lamps[10] = BIT(data, 2); // Aux_2 -

0 commit comments

Comments
 (0)