mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 19:21:06 +00:00
Cleanup
This commit is contained in:
parent
e785c8ac55
commit
5afb197198
@ -1652,7 +1652,9 @@ static bool config_load_file(const char *path, bool set_defaults,
|
|||||||
struct config_array_setting_ptr *array_settings = NULL;
|
struct config_array_setting_ptr *array_settings = NULL;
|
||||||
struct config_path_setting_ptr *path_settings = NULL;
|
struct config_path_setting_ptr *path_settings = NULL;
|
||||||
char *override_username = NULL;
|
char *override_username = NULL;
|
||||||
|
#ifdef HAVE_NETPLAY
|
||||||
char *override_netplay_ip_address = NULL;
|
char *override_netplay_ip_address = NULL;
|
||||||
|
#endif
|
||||||
global_t *global = global_get_ptr();
|
global_t *global = global_get_ptr();
|
||||||
int bool_settings_size = populate_settings_bool (settings, &bool_settings);
|
int bool_settings_size = populate_settings_bool (settings, &bool_settings);
|
||||||
int float_settings_size = populate_settings_float (settings, &float_settings);
|
int float_settings_size = populate_settings_float (settings, &float_settings);
|
||||||
|
@ -367,10 +367,10 @@ bool menu_shader_manager_save_preset(
|
|||||||
**/
|
**/
|
||||||
unsigned menu_shader_manager_get_type(const void *data)
|
unsigned menu_shader_manager_get_type(const void *data)
|
||||||
{
|
{
|
||||||
const struct video_shader *shader = (const struct video_shader*)data;
|
|
||||||
#ifndef HAVE_SHADER_MANAGER
|
#ifndef HAVE_SHADER_MANAGER
|
||||||
return RARCH_SHADER_NONE;
|
return RARCH_SHADER_NONE;
|
||||||
#else
|
#else
|
||||||
|
const struct video_shader *shader = (const struct video_shader*)data;
|
||||||
/* All shader types must be the same, or we cannot use it. */
|
/* All shader types must be the same, or we cannot use it. */
|
||||||
unsigned i = 0, type = 0;
|
unsigned i = 0, type = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user