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 | |
parent | f036fcbc0ff56dbab185d42c40f748e9c097bf22 (diff) |
-overlay-replay > -restart-replay-on-save
-rw-r--r-- | meson.build | 2 | ||||
-rw-r--r-- | project.conf | 2 | ||||
-rw-r--r-- | src/Overlay.cpp | 6 | ||||
-rw-r--r-- | src/gui/SettingsPage.cpp | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/meson.build b/meson.build index 333ad48..781ed8d 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('gsr-ui', ['c', 'cpp'], version : '1.1.0', default_options : ['warning_level=2', 'cpp_std=c++17'], subproject_dir : 'depends') +project('gsr-ui', ['c', 'cpp'], version : '1.1.1', default_options : ['warning_level=2', 'cpp_std=c++17'], subproject_dir : 'depends') if get_option('buildtype') == 'debug' add_project_arguments('-g3', language : ['c', 'cpp']) diff --git a/project.conf b/project.conf index 509409a..1a2d65a 100644 --- a/project.conf +++ b/project.conf @@ -1,7 +1,7 @@ [package] name = "gsr-ui" type = "executable" -version = "1.1.0" +version = "1.1.1" platforms = ["posix"] [lang.cpp] 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))); |