mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-01 06:23:42 +00:00
Fix --disable-menu
This commit is contained in:
parent
cd2d4f2248
commit
9fb54a0a1c
@ -771,7 +771,7 @@ static const bool audio_enable_menu_bgm = false;
|
||||
#define DEFAULT_NOTIFICATION_SHOW_SCREENSHOT true
|
||||
|
||||
/*Desired duration of the screenshot notification*/
|
||||
static const unsigned notification_show_screenshot_duration = NOTIFICATION_SHOW_SCREENSHOT_DURATION_NORMAL;
|
||||
#define DEFAULT_NOTIFICATION_SHOW_SCREENSHOT_DURATION 0
|
||||
|
||||
/* Display a white flashing effect when
|
||||
* taking a screenshot*/
|
||||
|
@ -1922,7 +1922,7 @@ static struct config_uint_setting *populate_settings_uint(
|
||||
SETTING_UINT("screen_orientation", &settings->uints.screen_orientation, true, ORIENTATION_NORMAL, false);
|
||||
SETTING_UINT("aspect_ratio_index", &settings->uints.video_aspect_ratio_idx, true, DEFAULT_ASPECT_RATIO_IDX, false);
|
||||
#ifdef HAVE_SCREENSHOTS
|
||||
SETTING_UINT("notification_show_screenshot_duration", &settings->uints.notification_show_screenshot_duration, true, notification_show_screenshot_duration, false);
|
||||
SETTING_UINT("notification_show_screenshot_duration", &settings->uints.notification_show_screenshot_duration, true, DEFAULT_NOTIFICATION_SHOW_SCREENSHOT_DURATION, false);
|
||||
#endif
|
||||
#ifdef HAVE_NETWORKING
|
||||
SETTING_UINT("netplay_ip_port", &settings->uints.netplay_port, true, RARCH_DEFAULT_PORT, false);
|
||||
|
@ -17,6 +17,7 @@
|
||||
|
||||
#include <retro_miscellaneous.h>
|
||||
#include <formats/image.h>
|
||||
#include <string/stdstring.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "../../config.h"
|
||||
|
@ -68,6 +68,15 @@ enum gfx_widgets_icon
|
||||
MENU_WIDGETS_ICON_LAST
|
||||
};
|
||||
|
||||
enum notification_show_screenshot_duration
|
||||
{
|
||||
NOTIFICATION_SHOW_SCREENSHOT_DURATION_NORMAL = 0,
|
||||
NOTIFICATION_SHOW_SCREENSHOT_DURATION_FAST,
|
||||
NOTIFICATION_SHOW_SCREENSHOT_DURATION_VERY_FAST,
|
||||
NOTIFICATION_SHOW_SCREENSHOT_DURATION_INSTANT,
|
||||
NOTIFICATION_SHOW_SCREENSHOT_DURATION_LAST
|
||||
};
|
||||
|
||||
/* This structure holds all objects + metadata
|
||||
* corresponding to a particular font */
|
||||
typedef struct
|
||||
|
@ -122,15 +122,6 @@ enum menu_timedate_date_separator_type
|
||||
MENU_TIMEDATE_DATE_SEPARATOR_LAST
|
||||
};
|
||||
|
||||
enum notification_show_screenshot_duration
|
||||
{
|
||||
NOTIFICATION_SHOW_SCREENSHOT_DURATION_NORMAL = 0,
|
||||
NOTIFICATION_SHOW_SCREENSHOT_DURATION_FAST,
|
||||
NOTIFICATION_SHOW_SCREENSHOT_DURATION_VERY_FAST,
|
||||
NOTIFICATION_SHOW_SCREENSHOT_DURATION_INSTANT,
|
||||
NOTIFICATION_SHOW_SCREENSHOT_DURATION_LAST
|
||||
};
|
||||
|
||||
enum rgui_color_theme
|
||||
{
|
||||
RGUI_THEME_CUSTOM = 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user