Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
libretro-minivmac
Commits
6462f235
Commit
6462f235
authored
Jan 25, 2022
by
Vladimir Serbinenko
Browse files
Fix start directory
parent
2bcb4f4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
6462f235
...
...
@@ -92,7 +92,7 @@ else ifeq ($(platform), ngc)
TARGET
:=
$(TARGET_NAME)
_libretro_
$(platform)
.a
CC
=
$(DEVKITPPC)
/bin/powerpc-eabi-gcc
$(EXE_EXT)
AR
=
$(DEVKITPPC)
/bin/powerpc-eabi-ar
$(EXE_EXT)
PLATFORM_DEFINE
S
+=
-DGEKKO
-DHW_DOL
-mrvl
-mcpu
=
750
-meabi
-mhard-float
CFLAG
S
+=
-DGEKKO
-DHW_DOL
-mrvl
-mcpu
=
750
-meabi
-mhard-float
HAVE_RZLIB
:=
1
STATIC_LINKING
=
1
...
...
@@ -108,7 +108,7 @@ else ifeq ($(platform), wii)
TARGET
:=
$(TARGET_NAME)
_libretro_
$(platform)
.a
CC
=
$(DEVKITPPC)
/bin/powerpc-eabi-gcc
$(EXE_EXT)
AR
=
$(DEVKITPPC)
/bin/powerpc-eabi-ar
$(EXE_EXT)
PLATFORM_DEFINE
S
+=
-DGEKKO
-DHW_RVL
-mrvl
-mcpu
=
750
-meabi
-mhard-float
CFLAG
S
+=
-DGEKKO
-DHW_RVL
-mrvl
-mcpu
=
750
-meabi
-mhard-float
HAVE_RZLIB
:=
1
STATIC_LINKING
=
1
...
...
@@ -131,7 +131,7 @@ else ifeq ($(platform), wiiu)
TARGET
:=
$(TARGET_NAME)
_libretro_
$(platform)
.a
CC
=
$(DEVKITPPC)
/bin/powerpc-eabi-gcc
$(EXE_EXT)
AR
=
$(DEVKITPPC)
/bin/powerpc-eabi-ar
$(EXE_EXT)
PLATFORM_DEFINE
S
+=
-DGEKKO
-DWIIU
-DHW_RVL
-mwup
-mcpu
=
750
-meabi
-mhard-float
CFLAG
S
+=
-DGEKKO
-DWIIU
-DHW_RVL
-mwup
-mcpu
=
750
-meabi
-mhard-float
HAVE_RZLIB
:=
1
STATIC_LINKING
=
1
#######################################
...
...
@@ -191,6 +191,7 @@ else ifeq ($(platform), vita)
CC
=
arm-vita-eabi-gcc
AR
=
arm-vita-eabi-ar
CXXFLAGS
+=
-Wl
,-q
-Wall
-O3
CFLAGS
+=
-DVITA
=
1
STATIC_LINKING
=
1
# RS90
else
ifeq
($(platform), rs90)
...
...
libretro/nukleargui/filebrowser.c
View file @
6462f235
...
...
@@ -161,7 +161,13 @@ file_browser_init(struct file_browser *browser)
{
/* load files and sub-directory list */
const
char
*
home
=
getenv
(
"HOME"
);
#ifdef _WIN32
#if defined(PS2) || defined(_3DS) || defined(SWITCH) // TODO: Fix directory
if
(
!
home
)
home
=
"/"
;
#elif defined(GEKKO)
if
(
!
home
)
home
=
"/sd:"
;
#elif defined(VITA)
if
(
!
home
)
home
=
"/ux0:"
;
#elif defined(_WIN32)
if
(
!
home
)
home
=
getenv
(
"USERPROFILE"
);
#else
if
(
!
home
)
home
=
getpwuid
(
getuid
())
->
pw_dir
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment