mirror of
https://github.com/libretro/RetroArch
synced 2024-12-28 09:29:16 +00:00
(Wii) Buildfixes
This commit is contained in:
parent
bf035b634b
commit
f100dde751
@ -386,7 +386,7 @@ static void frontend_gx_exitspawn(char *s, size_t len)
|
||||
{
|
||||
fill_pathname_join(new_path, g_defaults.dir.core,
|
||||
salamander_name, sizeof(new_path));
|
||||
path_set_content(new_path);
|
||||
path_set(RARCH_PATH_CONTENT, new_path);
|
||||
}
|
||||
}
|
||||
break;
|
||||
@ -415,7 +415,7 @@ static void frontend_gx_process_args(int *argc, char *argv[])
|
||||
/* A big hack: sometimes Salamander doesn't save the new core
|
||||
* it loads on first boot, so we make sure
|
||||
* active core path is set here. */
|
||||
if (path_is_core_empty() && *argc >= 1 && strrchr(argv[0], '/'))
|
||||
if (path_is_empty(RARCH_PATH_CORE) && *argc >= 1 && strrchr(argv[0], '/'))
|
||||
{
|
||||
char path[PATH_MAX_LENGTH] = {0};
|
||||
strlcpy(path, strrchr(argv[0], '/') + 1, sizeof(path));
|
||||
|
@ -125,7 +125,7 @@ static enum rarch_core_type current_core_type = CORE_TYPE_PLAIN;
|
||||
static enum rarch_core_type explicit_current_core_type = CORE_TYPE_PLAIN;
|
||||
static char error_string[PATH_MAX_LENGTH] = {0};
|
||||
|
||||
static retro_bits_t has_set_libretro_device = {0};
|
||||
static retro_bits_t has_set_libretro_device;
|
||||
static bool has_set_username = false;
|
||||
static bool rarch_is_inited = false;
|
||||
static bool rarch_error_on_init = false;
|
||||
@ -395,9 +395,7 @@ static void retroarch_parse_input(int argc, char *argv[])
|
||||
const char *optstring = NULL;
|
||||
bool explicit_menu = false;
|
||||
settings_t *settings = config_get_ptr();
|
||||
#ifdef HAVE_NETWORKING
|
||||
global_t *global = global_get_ptr();
|
||||
#endif
|
||||
|
||||
const struct option opts[] = {
|
||||
#ifdef HAVE_DYNAMIC
|
||||
|
Loading…
Reference in New Issue
Block a user