From bfda786802a550a3022c80987afce0b28df6d992 Mon Sep 17 00:00:00 2001 From: Angelo Salese Date: Mon, 10 Aug 2009 20:25:13 +0000 Subject: [PATCH] [SNES]: Fixed buggy layer clearance when in H-512 modes --- src/mame/video/snes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/video/snes.c b/src/mame/video/snes.c index fd4e8911a17..5cd74b356b4 100644 --- a/src/mame/video/snes.c +++ b/src/mame/video/snes.c @@ -1132,7 +1132,7 @@ static void snes_refresh_scanline( running_machine *machine, bitmap_t *bitmap, U profiler_mark(PROFILER_VIDEO); if (snes_ram[INIDISP] & 0x80) /* screen is forced blank */ - for (x = 0; x < SNES_SCR_WIDTH; x++) + for (x = 0; x < SNES_SCR_WIDTH * snes_htmult; x++) *BITMAP_ADDR32(bitmap, curline, x) = RGB_BLACK; else {