mirror of
https://github.com/holub/mame
synced 2025-05-24 23:05:32 +03:00
[SNES]: Fixed buggy layer clearance when in H-512 modes
This commit is contained in:
parent
d417e0726d
commit
bfda786802
@ -1132,7 +1132,7 @@ static void snes_refresh_scanline( running_machine *machine, bitmap_t *bitmap, U
|
|||||||
profiler_mark(PROFILER_VIDEO);
|
profiler_mark(PROFILER_VIDEO);
|
||||||
|
|
||||||
if (snes_ram[INIDISP] & 0x80) /* screen is forced blank */
|
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;
|
*BITMAP_ADDR32(bitmap, curline, x) = RGB_BLACK;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user