mirror of https://github.com/snes9xgit/snes9x.git
GFX.DoInterlace-- should occur even if we don't render frame.
Also, adjust the turbo frames label.
This commit is contained in:
parent
3215788e26
commit
5b7c329134
5
gfx.cpp
5
gfx.cpp
|
@ -199,6 +199,8 @@ void S9xBuildDirectColourMaps (void)
|
||||||
void S9xStartScreenRefresh (void)
|
void S9xStartScreenRefresh (void)
|
||||||
{
|
{
|
||||||
GFX.InterlaceFrame = !GFX.InterlaceFrame;
|
GFX.InterlaceFrame = !GFX.InterlaceFrame;
|
||||||
|
if (GFX.DoInterlace)
|
||||||
|
GFX.DoInterlace--;
|
||||||
|
|
||||||
if (IPPU.RenderThisFrame)
|
if (IPPU.RenderThisFrame)
|
||||||
{
|
{
|
||||||
|
@ -210,9 +212,6 @@ void S9xStartScreenRefresh (void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (GFX.DoInterlace)
|
|
||||||
GFX.DoInterlace--;
|
|
||||||
|
|
||||||
S9xGraphicsScreenResize();
|
S9xGraphicsScreenResize();
|
||||||
|
|
||||||
IPPU.RenderedFramesCount++;
|
IPPU.RenderedFramesCount++;
|
||||||
|
|
|
@ -111,7 +111,7 @@ BEGIN
|
||||||
RTEXT "Skip rendering",IDC_LABEL_STURBO,12,85,84,14,SS_CENTERIMAGE
|
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 "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 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
|
RTEXT "Config file:",IDC_STATIC,24,12,72,8
|
||||||
EDITTEXT IDC_CONFIG_NAME_BOX,102,9,49,14,ES_AUTOHSCROLL | ES_READONLY | ES_NUMBER
|
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
|
LTEXT "all of Snes9x's settings are stored in this file",IDC_STATIC,158,11,160,11
|
||||||
|
@ -1132,6 +1132,11 @@ BEGIN
|
||||||
0
|
0
|
||||||
END
|
END
|
||||||
|
|
||||||
|
IDD_EMU_SETTINGS AFX_DIALOG_LAYOUT
|
||||||
|
BEGIN
|
||||||
|
0
|
||||||
|
END
|
||||||
|
|
||||||
#endif // English (United States) resources
|
#endif // English (United States) resources
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue