mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-20 17:49:22 +01:00
[Core/VDP] fixed Game Gear display rendering regression when left/right borders are disabled
This commit is contained in:
parent
709fcebd73
commit
e76fb5dc08
@ -4122,9 +4122,12 @@ void render_line(int line)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Horizontal borders */
|
/* Horizontal borders */
|
||||||
|
if (bitmap.viewport.x > 0)
|
||||||
|
{
|
||||||
memset(&linebuf[0][0x20 - bitmap.viewport.x], 0x40, bitmap.viewport.x);
|
memset(&linebuf[0][0x20 - bitmap.viewport.x], 0x40, bitmap.viewport.x);
|
||||||
memset(&linebuf[0][0x20 + bitmap.viewport.w], 0x40, bitmap.viewport.x);
|
memset(&linebuf[0][0x20 + bitmap.viewport.w], 0x40, bitmap.viewport.x);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Master System & Game Gear VDP specific */
|
/* Master System & Game Gear VDP specific */
|
||||||
|
Loading…
Reference in New Issue
Block a user