mirror of https://github.com/snes9xgit/snes9x.git
Don't break double-height modes.
This commit is contained in:
parent
1bf9ca8fa0
commit
ada43c7992
3
ppu.cpp
3
ppu.cpp
|
@ -1066,6 +1066,9 @@ void S9xSetPPU (uint8 Byte, uint16 Address)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
PPU.ScreenHeight = SNES_HEIGHT;
|
PPU.ScreenHeight = SNES_HEIGHT;
|
||||||
|
if (IPPU.DoubleHeightPixels)
|
||||||
|
IPPU.RenderedScreenHeight = PPU.ScreenHeight << 1;
|
||||||
|
else
|
||||||
IPPU.RenderedScreenHeight = PPU.ScreenHeight;
|
IPPU.RenderedScreenHeight = PPU.ScreenHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue