(Wii) buildfix for devkitPPC r29.

This commit is contained in:
aliaspider 2017-01-22 18:43:16 +01:00
parent 1601febabc
commit ae0e519639
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ ifeq ($(HAVE_LOGGER), 1)
endif endif
endif endif
CFLAGS += -DGEKKO CFLAGS += -DGEKKO -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int
HAVE_FILTERS_BUILTIN := 1 HAVE_FILTERS_BUILTIN := 1
HAVE_THREADS := 1 HAVE_THREADS := 1

View File

@ -207,7 +207,7 @@ static void frontend_gx_get_environment_settings(
#ifdef HW_DOL #ifdef HW_DOL
chdir("carda:/retroarch"); chdir("carda:/retroarch");
#endif #endif
getcwd(g_defaults.dir.core, MAXPATHLEN); getcwd(g_defaults.dir.core, PATH_MAX_LENGTH);
last_slash = strrchr(g_defaults.dir.core, '/'); last_slash = strrchr(g_defaults.dir.core, '/');
if (last_slash) if (last_slash)