mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-08 17:28:49 -10:00
menu: show the Scanline Sync offset under Synchronization
49f07a52ee added the setting - config key, enum, descriptor and strings
all from one settings_def row - and verified those symbols existed, but
never added it to the two display lists in menu_displaylist.c that
decide what actually appears under Settings > Video > Synchronization.
The row was reachable through the config file and by search and
nowhere else.
Add it directly below Scanline Sync in both lists, behind the same
HAVE_D3DKMT guard.
This commit is contained in:
1 parent
49f07a52ee
commit
2d6caa73dd
1 file changed
+5
@@ -10780,6 +10780,7 @@ unsigned menu_displaylist_build_list(
|
||||
{MENU_ENUM_LABEL_VIDEO_MAX_SWAPCHAIN_IMAGES, PARSE_ONLY_UINT, false},
|
||||
#ifdef HAVE_D3DKMT
|
||||
{MENU_ENUM_LABEL_VIDEO_SCANLINE_SYNC, PARSE_ONLY_BOOL, true},
|
||||
{MENU_ENUM_LABEL_VIDEO_SCANLINE_SYNC_OFFSET, PARSE_ONLY_INT, true},
|
||||
#endif
|
||||
{MENU_ENUM_LABEL_VIDEO_FRAME_DELAY_AUTO, PARSE_ONLY_BOOL, true},
|
||||
{MENU_ENUM_LABEL_VIDEO_FRAME_DELAY, PARSE_ONLY_UINT, true},
|
||||
@@ -11417,6 +11418,10 @@ unsigned menu_displaylist_build_list(
|
||||
MENU_ENUM_LABEL_VIDEO_SCANLINE_SYNC,
|
||||
PARSE_ONLY_BOOL, false) == 0)
|
||||
count++;
|
||||
if (MENU_DISPLAYLIST_PARSE_SETTINGS_ENUM(list,
|
||||
MENU_ENUM_LABEL_VIDEO_SCANLINE_SYNC_OFFSET,
|
||||
PARSE_ONLY_INT, false) == 0)
|
||||
count++;
|
||||
#endif
|
||||
#ifdef HAVE_RUNAHEAD
|
||||
if ( (flags & RUNLOOP_FLAG_CORE_RUNNING)
|
||||
|
||||
Reference in new issue
Block a user