mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-17 07:58:55 +00:00
Silence more warnings
This commit is contained in:
parent
8777a6eb6a
commit
a3242daa5d
@ -1605,10 +1605,12 @@ bool core_info_get_core_lock(const char *core_path, bool validate_path)
|
||||
if (string_is_empty(core_path))
|
||||
goto end;
|
||||
|
||||
core_info.inf = NULL;
|
||||
core_info.path = NULL;
|
||||
|
||||
/* Check whether core path is to be validated */
|
||||
if (validate_path)
|
||||
{
|
||||
core_info.inf = NULL;
|
||||
core_info.path = core_path;
|
||||
|
||||
if (core_info_find(&core_info))
|
||||
|
@ -67,7 +67,9 @@
|
||||
* The Wii U frontend driver, along with the main() method.
|
||||
*/
|
||||
|
||||
#ifndef IS_SALAMANDER
|
||||
static enum frontend_fork wiiu_fork_mode = FRONTEND_FORK_NONE;
|
||||
#endif
|
||||
static const char *elf_path_cst = WIIU_SD_PATH "retroarch/retroarch.elf";
|
||||
|
||||
static bool exists(char *path)
|
||||
@ -341,7 +343,9 @@ frontend_ctx_driver_t frontend_ctx_wiiu =
|
||||
|
||||
static void main_setup(void);
|
||||
static void get_arguments(int *argc, char ***argv);
|
||||
#ifndef IS_SALAMANDER
|
||||
static void main_loop(void);
|
||||
#endif
|
||||
static void main_teardown(void);
|
||||
|
||||
static void init_network(void);
|
||||
@ -439,6 +443,7 @@ static void main_teardown(void)
|
||||
deinit_network();
|
||||
}
|
||||
|
||||
#ifndef IS_SALAMANDER
|
||||
static void main_loop(void)
|
||||
{
|
||||
OSTime start_time;
|
||||
@ -460,6 +465,7 @@ static void main_loop(void)
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
static void SaveCallback(void)
|
||||
{
|
||||
|
@ -73,13 +73,6 @@ static float gfx_widgets_backdrop_orig[16] = {
|
||||
0.00, 0.00, 0.00, 0.75,
|
||||
};
|
||||
|
||||
static float gfx_widgets_backdrop[16] = {
|
||||
0.00, 0.00, 0.00, 0.75,
|
||||
0.00, 0.00, 0.00, 0.75,
|
||||
0.00, 0.00, 0.00, 0.75,
|
||||
0.00, 0.00, 0.00, 0.75,
|
||||
};
|
||||
|
||||
/* Icons */
|
||||
static const char
|
||||
*gfx_widgets_icons_names[MENU_WIDGETS_ICON_LAST] = {
|
||||
|
@ -7553,9 +7553,9 @@ unsigned menu_displaylist_build_list(
|
||||
#ifdef HAVE_GFX_WIDGETS
|
||||
bool widgets_supported = video_driver_has_widgets();
|
||||
bool menu_enable_widgets = settings->bools.menu_enable_widgets;
|
||||
#endif
|
||||
#ifdef HAVE_SCREENSHOTS
|
||||
bool notification_show_screenshot = settings->bools.notification_show_screenshot;
|
||||
#endif
|
||||
#endif
|
||||
menu_displaylist_build_info_selective_t build_list[] = {
|
||||
{MENU_ENUM_LABEL_FPS_SHOW, PARSE_ONLY_BOOL, true },
|
||||
|
Loading…
x
Reference in New Issue
Block a user