Fix Chrono Trigger bug where screen jumps.

This commit is contained in:
Brandon Wright 2018-08-06 12:54:38 -05:00
parent 6d15bf7d94
commit 37f6259f06
2 changed files with 4 additions and 9 deletions

View File

@ -1622,15 +1622,7 @@ S9xDeinitUpdate (int width, int height)
{ {
int yoffset = 0; int yoffset = 0;
if (height == SNES_HEIGHT_EXTENDED && top_level->last_height == SNES_HEIGHT) top_level->last_height = height;
{
top_level->last_height = height;
height = SNES_HEIGHT;
}
else
{
top_level->last_height = height;
}
top_level->last_width = width; top_level->last_width = width;
if (gui_config->overscan) if (gui_config->overscan)

View File

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