mirror of https://github.com/snes9xgit/snes9x.git
Fix Chrono Trigger bug where screen jumps.
This commit is contained in:
parent
6d15bf7d94
commit
37f6259f06
|
@ -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)
|
||||||
|
|
3
ppu.cpp
3
ppu.cpp
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue