mirror of https://github.com/snes9xgit/snes9x.git
Fix #805 segfault changing background with scaling filters
This commit is contained in:
parent
3c4982eddd
commit
85f6a84f26
|
@ -1317,6 +1317,9 @@ void S9xQueryDrivers()
|
|||
|
||||
bool8 S9xDeinitUpdate(int width, int height)
|
||||
{
|
||||
if (width <= 0 || height <= 0)
|
||||
return false;
|
||||
|
||||
int yoffset = 0;
|
||||
|
||||
if (top_level->last_height > height)
|
||||
|
|
Loading…
Reference in New Issue