diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-01-24 10:09:32 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-01-24 10:09:32 +0100 |
commit | c396a1f9224527462d06da6dd3112d760bde4506 (patch) | |
tree | febf7d642dfb6a4815848f2453a055764366f796 /src | |
parent | f036fcbc0ff56dbab185d42c40f748e9c097bf22 (diff) |
-overlay-replay > -restart-replay-on-save
Diffstat (limited to 'src')
-rw-r--r-- | src/Overlay.cpp | 6 | ||||
-rw-r--r-- | src/gui/SettingsPage.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Overlay.cpp b/src/Overlay.cpp index 6ecd32e..c8e8b8f 100644 --- a/src/Overlay.cpp +++ b/src/Overlay.cpp @@ -1866,9 +1866,9 @@ namespace gsr { "-o", output_directory.c_str() }; - if(config.replay_config.restart_replay_on_save && gsr_info.system_info.gsr_version >= GsrVersion{5, 0, 2}) { - args.push_back("-overlap-replay"); - args.push_back("no"); + if(config.replay_config.restart_replay_on_save && gsr_info.system_info.gsr_version >= GsrVersion{5, 0, 3}) { + args.push_back("-restart-replay-on-save"); + args.push_back("yes"); } add_common_gpu_screen_recorder_args(args, config.replay_config.record_options, audio_tracks, video_bitrate, region, audio_tracks_merged); diff --git a/src/gui/SettingsPage.cpp b/src/gui/SettingsPage.cpp index 0e5c57b..3d114ae 100644 --- a/src/gui/SettingsPage.cpp +++ b/src/gui/SettingsPage.cpp @@ -699,7 +699,7 @@ namespace gsr { auto general_list = std::make_unique<List>(List::Orientation::VERTICAL); general_list->add_widget(create_start_replay_automatically()); general_list->add_widget(create_save_replay_in_game_folder()); - if(gsr_info->system_info.gsr_version >= GsrVersion{5, 0, 2}) + if(gsr_info->system_info.gsr_version >= GsrVersion{5, 0, 3}) general_list->add_widget(create_restart_replay_on_save()); settings_list_ptr->add_widget(std::make_unique<Subsection>("General", std::move(general_list), mgl::vec2f(settings_scrollable_page_ptr->get_inner_size().x, 0.0f))); |