mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-30 11:40:32 +00:00
Merge pull request #9589 from Tatsuya79/patch-3
always show advanced sync options in Qt
This commit is contained in:
commit
912fb252c6
@ -26,6 +26,7 @@ QWidget *LatencyPage::widget()
|
||||
QWidget *widget = new QWidget;
|
||||
FormLayout *layout = new FormLayout;
|
||||
CheckableSettingsGroup *runAheadGpuSync = new CheckableSettingsGroup(MENU_ENUM_LABEL_RUN_AHEAD_ENABLED);
|
||||
|
||||
rarch_setting_t *hardSyncSetting = menu_setting_find_enum(MENU_ENUM_LABEL_VIDEO_HARD_SYNC);
|
||||
|
||||
if (hardSyncSetting)
|
||||
@ -37,6 +38,8 @@ QWidget *LatencyPage::widget()
|
||||
layout->addRow(hardSyncGroup);
|
||||
}
|
||||
|
||||
layout->add(MENU_ENUM_LABEL_VIDEO_MAX_SWAPCHAIN_IMAGES);
|
||||
|
||||
layout->add(MENU_ENUM_LABEL_VIDEO_FRAME_DELAY);
|
||||
layout->add(MENU_ENUM_LABEL_AUDIO_LATENCY);
|
||||
layout->add(MENU_ENUM_LABEL_INPUT_POLL_TYPE_BEHAVIOR);
|
||||
|
@ -123,17 +123,15 @@ QWidget *VideoPage::widget()
|
||||
vSyncGroup->add(MENU_ENUM_LABEL_VIDEO_FRAME_DELAY);
|
||||
syncGroup->addRow(vSyncGroup);
|
||||
|
||||
rarch_setting_t *hardSyncSetting = menu_setting_find_enum(MENU_ENUM_LABEL_VIDEO_HARD_SYNC);
|
||||
|
||||
if (hardSyncSetting)
|
||||
{
|
||||
rarch_setting_t *hardSyncSetting = menu_setting_find_enum(MENU_ENUM_LABEL_VIDEO_HARD_SYNC);
|
||||
CheckableSettingsGroup *hardSyncGroup = new CheckableSettingsGroup(hardSyncSetting);
|
||||
|
||||
if (hardSyncSetting)
|
||||
{
|
||||
CheckableSettingsGroup *hardSyncGroup = new CheckableSettingsGroup(hardSyncSetting);
|
||||
hardSyncGroup->add(MENU_ENUM_LABEL_VIDEO_HARD_SYNC_FRAMES);
|
||||
|
||||
hardSyncGroup->add(MENU_ENUM_LABEL_VIDEO_HARD_SYNC_FRAMES);
|
||||
|
||||
syncGroup->addRow(hardSyncGroup);
|
||||
}
|
||||
syncGroup->addRow(hardSyncGroup);
|
||||
}
|
||||
|
||||
syncGroup->add(MENU_ENUM_LABEL_VIDEO_MAX_SWAPCHAIN_IMAGES);
|
||||
|
Loading…
Reference in New Issue
Block a user