Don't break double-height modes.

This commit is contained in:
Brandon Wright 2018-08-06 17:32:23 -05:00
parent 1bf9ca8fa0
commit ada43c7992
1 changed files with 4 additions and 1 deletions

View File

@ -1066,7 +1066,10 @@ void S9xSetPPU (uint8 Byte, uint16 Address)
else
{
PPU.ScreenHeight = SNES_HEIGHT;
IPPU.RenderedScreenHeight = PPU.ScreenHeight;
if (IPPU.DoubleHeightPixels)
IPPU.RenderedScreenHeight = PPU.ScreenHeight << 1;
else
IPPU.RenderedScreenHeight = PPU.ScreenHeight;
}
if ((Memory.FillRAM[0x2133] ^ Byte) & 3)