Previous 199869 Revisions Next

r33469 Thursday 20th November, 2014 at 20:14:50 UTC by Osso
sshangha.c: restored flip screen support (nw)
[src/mame/video]sshangha.c

trunk/src/mame/video/sshangha.c
r241980r241981
3535   // I'm pretty sure only the original has the 2nd spriteram, used for the Japanese text on the 2nd scene (non-scrolling text) in the intro of the quest (3rd in JPN) mode
3636   if (m_spriteram2 != NULL)
3737      m_sprgen2->draw_sprites(bitmap, cliprect, m_spriteram2, 0x800, true);
38   
39   // flip screen
40   address_space &space = machine().driver_data()->generic_space();
41   UINT16 flip = m_deco_tilegen1->pf_control_r(space, 0, 0xffff);
42   flip_screen_set(BIT(flip, 7));
3843
39   machine().tilemap().set_flip_all(flip_screen_x() ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
40
4144   bitmap.fill(m_palette->black_pen(), cliprect);
4245
4346   m_deco_tilegen1->pf_update(m_pf1_rowscroll, m_pf2_rowscroll);


Previous 199869 Revisions Next


© 1997-2024 The MAME Team