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:
cam900 2020-09-06 06:53:07 +09:00 committed by GitHub
parent 4b5db3bb73
commit d39d1b9412
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
{