GFX.DoInterlace-- should occur even if we don't render frame.

Also, adjust the turbo frames label.
This commit is contained in:
Brandon Wright 2019-02-13 18:20:55 -06:00
parent 3215788e26
commit 5b7c329134
2 changed files with 8 additions and 4 deletions

View File

@ -199,6 +199,8 @@ void S9xBuildDirectColourMaps (void)
void S9xStartScreenRefresh (void)
{
GFX.InterlaceFrame = !GFX.InterlaceFrame;
if (GFX.DoInterlace)
GFX.DoInterlace--;
if (IPPU.RenderThisFrame)
{
@ -210,9 +212,6 @@ void S9xStartScreenRefresh (void)
return;
}
if (GFX.DoInterlace)
GFX.DoInterlace--;
S9xGraphicsScreenResize();
IPPU.RenderedFramesCount++;

View File

@ -111,7 +111,7 @@ BEGIN
RTEXT "Skip rendering",IDC_LABEL_STURBO,12,85,84,14,SS_CENTERIMAGE
LTEXT "seconds after last change (0 disables auto-save)",IDC_LABEL_ASRAM_TEXT,156,47,161,14,SS_CENTERIMAGE
LTEXT "frames in auto-frame rate mode",IDC_LABEL_SMAX_TEXT,156,66,138,14,SS_CENTERIMAGE
LTEXT "frames in Turbo mode",IDC_LABEL_STURBO_TEXT,156,85,92,14,SS_CENTERIMAGE
LTEXT "frames in Turbo mode",IDC_LABEL_STURBO_TEXT,156,85,143,14,SS_CENTERIMAGE
RTEXT "Config file:",IDC_STATIC,24,12,72,8
EDITTEXT IDC_CONFIG_NAME_BOX,102,9,49,14,ES_AUTOHSCROLL | ES_READONLY | ES_NUMBER
LTEXT "all of Snes9x's settings are stored in this file",IDC_STATIC,158,11,160,11
@ -1132,6 +1132,11 @@ BEGIN
0
END
IDD_EMU_SETTINGS AFX_DIALOG_LAYOUT
BEGIN
0
END
#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////