mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
libfat: ARGV_MAGIC is different on WiiU
This commit is contained in:
parent
3f41c2b822
commit
8f48b40491
3
deps/libfat/libfat.c
vendored
3
deps/libfat/libfat.c
vendored
@ -174,7 +174,8 @@ bool fatInit (uint32_t cacheSize, bool setAsDefaultDevice)
|
|||||||
char filePath[PATH_MAX];
|
char filePath[PATH_MAX];
|
||||||
strcpy (filePath, _FAT_disc_interfaces[defaultDevice].name);
|
strcpy (filePath, _FAT_disc_interfaces[defaultDevice].name);
|
||||||
strcat (filePath, ":/");
|
strcat (filePath, ":/");
|
||||||
#ifdef ARGV_MAGIC
|
//ARGV_MAGIC means something else on wiiu
|
||||||
|
#if defined(ARGV_MAGIC) && !defined(WIIU)
|
||||||
if ( __system_argv->argvMagic == ARGV_MAGIC && __system_argv->argc >= 1 && strrchr( __system_argv->argv[0], '/' )!=NULL )
|
if ( __system_argv->argvMagic == ARGV_MAGIC && __system_argv->argc >= 1 && strrchr( __system_argv->argv[0], '/' )!=NULL )
|
||||||
{
|
{
|
||||||
/* Check the app's path against each of our mounted devices, to see
|
/* Check the app's path against each of our mounted devices, to see
|
||||||
|
Loading…
x
Reference in New Issue
Block a user