Make replay power supply an option that works with the other replay autostart options

This commit is contained in:
dec05eba
2026-04-18 05:08:08 +02:00
parent 82453684b1
commit 8a49ea991b
13 changed files with 63 additions and 30 deletions

View File

@@ -14,8 +14,7 @@ namespace gsr {
enum class ReplayStartupMode {
DONT_TURN_ON_AUTOMATICALLY,
TURN_ON_AT_SYSTEM_STARTUP,
TURN_ON_AT_GAME_LAUNCH,
TURN_ON_AT_POWER_SUPPLY_CONNECTED
TURN_ON_AT_GAME_LAUNCH
};
ReplayStartupMode replay_startup_string_to_type(const char *startup_mode_str);
@@ -136,6 +135,7 @@ namespace gsr {
std::string turn_on_replay_automatically_mode = "dont_turn_on_automatically";
bool save_video_in_game_folder = false;
bool restart_replay_on_save = false;
bool only_start_replay_if_power_supply_connected = false;
std::string save_directory;
std::string container = "mp4";
int32_t replay_time = 60;