mirror of
https://github.com/dborth/snes9xgx.git
synced 2025-02-17 11:56:25 +01:00
Backport Move interlace flags to S9xSoftResetPPU. (#811)
This commit is contained in:
parent
f93f2b84fa
commit
b66acdf476
@ -54,8 +54,6 @@ bool8 S9xGraphicsInit (void)
|
|||||||
S9xSetRenderPixelFormat(RGB565);
|
S9xSetRenderPixelFormat(RGB565);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
GFX.DoInterlace = 0;
|
|
||||||
GFX.InterlaceFrame = 0;
|
|
||||||
GFX.RealPPL = GFX.Pitch >> 1;
|
GFX.RealPPL = GFX.Pitch >> 1;
|
||||||
IPPU.OBJChanged = TRUE;
|
IPPU.OBJChanged = TRUE;
|
||||||
Settings.BG_Forced = 0;
|
Settings.BG_Forced = 0;
|
||||||
|
@ -1889,6 +1889,7 @@ void S9xSoftResetPPU (void)
|
|||||||
memset(IPPU.TileCached[TILE_4BIT_ODD], 0, MAX_4BIT_TILES);
|
memset(IPPU.TileCached[TILE_4BIT_ODD], 0, MAX_4BIT_TILES);
|
||||||
PPU.VRAMReadBuffer = 0; // XXX: FIXME: anything better?
|
PPU.VRAMReadBuffer = 0; // XXX: FIXME: anything better?
|
||||||
GFX.InterlaceFrame = 0;
|
GFX.InterlaceFrame = 0;
|
||||||
|
GFX.DoInterlace = 0;
|
||||||
IPPU.Interlace = FALSE;
|
IPPU.Interlace = FALSE;
|
||||||
IPPU.InterlaceOBJ = FALSE;
|
IPPU.InterlaceOBJ = FALSE;
|
||||||
IPPU.DoubleWidthPixels = FALSE;
|
IPPU.DoubleWidthPixels = FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user