From c396a1f9224527462d06da6dd3112d760bde4506 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 24 Jan 2025 10:09:32 +0100 Subject: -overlay-replay > -restart-replay-on-save --- src/Overlay.cpp | 6 +++--- src/gui/SettingsPage.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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::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("General", std::move(general_list), mgl::vec2f(settings_scrollable_page_ptr->get_inner_size().x, 0.0f))); -- cgit v1.2.3