From d39d1b94124e19f354184c7f00dea397e4e92830 Mon Sep 17 00:00:00 2001 From: cam900 Date: Sun, 6 Sep 2020 06:53:07 +0900 Subject: [PATCH] deco_mlc.cpp: Fix invisible pixel issue in vertical zooming algorithm (#7184) - Fix invisible pixel issue in vertical zooming - Reduce unnecessary line check --- src/mame/video/deco_mlc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mame/video/deco_mlc.cpp b/src/mame/video/deco_mlc.cpp index d97042779cf..40631a9622a 100644 --- a/src/mame/video/deco_mlc.cpp +++ b/src/mame/video/deco_mlc.cpp @@ -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) {