mirror of
https://github.com/holub/mame
synced 2025-04-19 23:12:11 +03:00
deco_mlc.cpp: Fix invisible pixel issue in vertical zooming algorithm (#7184)
- Fix invisible pixel issue in vertical zooming - Reduce unnecessary line check
This commit is contained in:
parent
4b5db3bb73
commit
d39d1b9412
@ -426,15 +426,15 @@ void deco_mlc_state::draw_sprites(const rectangle &cliprect, int scanline, u32*
|
||||
if (bby < 0)
|
||||
continue;
|
||||
|
||||
if (bby >= full_sprite_screen_height >> 16)
|
||||
continue;
|
||||
|
||||
// color = machine().rand();
|
||||
|
||||
int srcline = ((bby << 16) / ratio);
|
||||
|
||||
const int by = srcline >> 4;
|
||||
|
||||
if (by >= h)
|
||||
continue;
|
||||
|
||||
srcline &= 0xf;
|
||||
if (fy)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user