Move interlace flags to S9xSoftResetPPU.
Windows is calling S9xGraphicsInit on BPP changes, and this could reset the interlace interval.
This commit is contained in:
parent
c90de1077b
commit
f2b5f26a35
2
gfx.cpp
2
gfx.cpp
@ -53,8 +53,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;
|
||||
|
1
ppu.cpp
1
ppu.cpp
@ -1888,6 +1888,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;
|
||||
|
Loading…
Reference in New Issue
Block a user