BSnes: Ignore the "crop SGB frame" setting if SGB is not active.

This commit is contained in:
nattthebear 2017-07-14 18:55:21 -04:00
parent c70dce5b85
commit d5c07447d2
1 changed files with 2 additions and 2 deletions

View File

@ -491,7 +491,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.SNES
xskip = 2;
}
if (_settings.CropSGBFrame)
if (_settings.CropSGBFrame && IsSGB)
{
_videoWidth = 160;
_videoHeight = 144;
@ -503,7 +503,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.SNES
_videoBuffer = new int[size];
}
if (_settings.CropSGBFrame)
if (_settings.CropSGBFrame && IsSGB)
{
int di = 0;
for (int y = 0; y < 144; y++)