mirror of
https://github.com/holub/mame
synced 2025-05-29 17:13:05 +03:00
Fixed mistake, nw
This commit is contained in:
parent
a90b026136
commit
25a8e26d81
@ -162,20 +162,13 @@ WRITE8_MEMBER(tecmo_state::flipscreen_w)
|
||||
|
||||
UINT32 tecmo_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
|
||||
{
|
||||
rectangle clip;
|
||||
clip.min_x = cliprect.min_x;
|
||||
clip.max_x = cliprect.max_x;
|
||||
screen.priority().fill(0, cliprect);
|
||||
bitmap.fill(0x100, cliprect);
|
||||
m_bg_tilemap->draw(screen, bitmap, cliprect, 0,1);
|
||||
m_fg_tilemap->draw(screen, bitmap, cliprect, 0,2);
|
||||
m_tx_tilemap->draw(screen, bitmap, cliprect, 0,4);
|
||||
|
||||
for (int line = cliprect.min_y; line <= cliprect.max_y;line++)
|
||||
{
|
||||
clip.min_y = clip.max_y = line;
|
||||
screen.priority().fill(0, clip);
|
||||
bitmap.fill(0x100, clip);
|
||||
m_bg_tilemap->draw(screen, bitmap, clip, 0,1);
|
||||
m_fg_tilemap->draw(screen, bitmap, clip, 0,2);
|
||||
m_tx_tilemap->draw(screen, bitmap, clip, 0,4);
|
||||
m_sprgen->draw_sprites_8bit(screen,bitmap,m_gfxdecode,cliprect, m_spriteram, m_spriteram.bytes(), m_video_type, flip_screen());
|
||||
|
||||
m_sprgen->draw_sprites_8bit(screen,bitmap,m_gfxdecode,clip, m_spriteram, m_spriteram.bytes(), m_video_type, flip_screen());
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user