Screenshot: fix image not saved to clipboard if notifications are disabled

This commit is contained in:
dec05eba
2025-12-04 22:43:54 +01:00
parent 4717c64b03
commit d7be9b38b1
2 changed files with 49 additions and 72 deletions

View File

@@ -117,7 +117,7 @@ namespace gsr {
double get_time_passed_in_replay_buffer_seconds();
void update_notification_process_status();
void save_video_in_current_game_directory(const char *video_filepath, NotificationType notification_type);
void save_video_in_current_game_directory(std::string &video_filepath, NotificationType notification_type);
void on_replay_saved(const char *replay_saved_filepath);
void process_gsr_output();
void on_gsr_process_error(int exit_code, NotificationType notification_type);
@@ -129,7 +129,7 @@ namespace gsr {
void update_power_supply_status();
void update_system_startup_status();
void on_stop_recording(int exit_code, const std::string &video_filepath);
void on_stop_recording(int exit_code, std::string &video_filepath);
void update_ui_recording_paused();
void update_ui_recording_unpaused();