Backport Move interlace flags to S9xSoftResetPPU. (#811)

This commit is contained in:
bladeoner 2019-02-18 16:53:47 +01:00 committed by dborth
parent f93f2b84fa
commit b66acdf476
2 changed files with 1 additions and 2 deletions

View File

@ -54,8 +54,6 @@ bool8 S9xGraphicsInit (void)
S9xSetRenderPixelFormat(RGB565);
#endif
GFX.DoInterlace = 0;
GFX.InterlaceFrame = 0;
GFX.RealPPL = GFX.Pitch >> 1;
IPPU.OBJChanged = TRUE;
Settings.BG_Forced = 0;

View File

@ -1889,6 +1889,7 @@ void S9xSoftResetPPU (void)
memset(IPPU.TileCached[TILE_4BIT_ODD], 0, MAX_4BIT_TILES);
PPU.VRAMReadBuffer = 0; // XXX: FIXME: anything better?
GFX.InterlaceFrame = 0;
GFX.DoInterlace = 0;
IPPU.Interlace = FALSE;
IPPU.InterlaceOBJ = FALSE;
IPPU.DoubleWidthPixels = FALSE;