mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
derp
This commit is contained in:
parent
f192f456a5
commit
bdd112a6ea
@ -125,7 +125,7 @@ public:
|
||||
virtual void machine_start();
|
||||
virtual void machine_reset();
|
||||
virtual void video_start();
|
||||
void draw_sprites();
|
||||
void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
UINT32 screen_update_stuntair(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
};
|
||||
|
||||
@ -188,7 +188,7 @@ void stuntair_state::video_start()
|
||||
}
|
||||
|
||||
|
||||
void stuntair_state::draw_sprites()
|
||||
void stuntair_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect)
|
||||
{
|
||||
gfx_element *gfx = machine().gfx[2];
|
||||
|
||||
@ -221,6 +221,8 @@ UINT32 stuntair_state::screen_update_stuntair(screen_device &screen, bitmap_ind1
|
||||
m_bg_tilemap->draw(bitmap, cliprect, 0, 0);
|
||||
m_fg_tilemap->draw(bitmap, cliprect, 0, TILEMAP_PIXEL_LAYER0);
|
||||
|
||||
draw_sprites(bitmap, cliprect);
|
||||
|
||||
m_fg_tilemap->draw(bitmap, cliprect, 0, TILEMAP_PIXEL_LAYER1|TILEMAP_DRAW_OPAQUE);
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user