mirror of https://github.com/snes9xgit/snes9x.git
Clean overscan area when turning off extended.
This commit is contained in:
parent
ad373237e4
commit
e2640286b7
|
@ -1633,6 +1633,13 @@ S9xRealDeinitUpdate (int width, int height)
|
|||
{
|
||||
int yoffset = 0;
|
||||
|
||||
if (top_level->last_height > height)
|
||||
{
|
||||
memset (GFX.Screen + (GFX.Pitch >> 1) * height,
|
||||
0,
|
||||
GFX.Pitch * (top_level->last_height - height));
|
||||
}
|
||||
|
||||
top_level->last_height = height;
|
||||
top_level->last_width = width;
|
||||
|
||||
|
|
Loading…
Reference in New Issue