mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01: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
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue