Minor cleanup of screenshot notification options

This commit is contained in:
Ryunam 2021-01-09 17:14:38 +01:00
parent e7c341331b
commit d49f266424
2 changed files with 6 additions and 6 deletions

View File

@ -829,12 +829,6 @@ static const bool audio_enable_menu_bgm = false;
#define DEFAULT_NOTIFICATION_SHOW_AUTOCONFIG true
#endif
#if defined(HAVE_SCREENSHOTS)
#define DEFAULT_NOTIFICATION_SHOW_SCREENSHOT_TAKEN true
#else
#define DEFAULT_NOTIFICATION_SHOW_SCREENSHOT_TAKEN false
#endif
/* Display a notification when cheats are being
* applied */
#define DEFAULT_NOTIFICATION_SHOW_CHEATS_APPLIED true
@ -855,6 +849,7 @@ static const bool audio_enable_menu_bgm = false;
* content */
#define DEFAULT_NOTIFICATION_SHOW_FAST_FORWARD true
#if defined(HAVE_SCREENSHOTS)
/*Display a notification when taking a screenshot*/
#define DEFAULT_NOTIFICATION_SHOW_SCREENSHOT true
@ -864,6 +859,7 @@ static const bool audio_enable_menu_bgm = false;
/* Display a white flashing effect with the desired
* duration when taking a screenshot*/
#define DEFAULT_NOTIFICATION_SHOW_SCREENSHOT_FLASH 0
#endif
/*Display a notification when setting the refresh rate*/
#define DEFAULT_NOTIFICATION_SHOW_REFRESH_RATE true

View File

@ -207,8 +207,10 @@ typedef struct settings
unsigned video_overscan_correction_bottom;
#endif
unsigned video_shader_delay;
#ifdef HAVE_SCREENSHOTS
unsigned notification_show_screenshot_duration;
unsigned notification_show_screenshot_flash;
#endif
/* Accessibility */
unsigned accessibility_narrator_speech_speed;
@ -544,7 +546,9 @@ typedef struct settings
bool notification_show_config_override_load;
bool notification_show_set_initial_disk;
bool notification_show_fast_forward;
#ifdef HAVE_SCREENSHOTS
bool notification_show_screenshot;
#endif
bool notification_show_refresh_rate;
bool menu_widget_scale_auto;
bool menu_show_start_screen;