mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
[UWP] expand custom.ini to absolute path, prevent crashing
This commit is contained in:
parent
004d782323
commit
0f924bd083
@ -2259,6 +2259,10 @@ void dir_check_defaults(void)
|
||||
*/
|
||||
#if defined(ORBIS) || defined(ANDROID)
|
||||
if (path_is_valid("host0:app/custom.ini"))
|
||||
#elif defined(__WINRT__)
|
||||
char path[MAX_PATH];
|
||||
fill_pathname_expand_special(path, "~\\custom.ini", MAX_PATH);
|
||||
if (path_is_valid(path))
|
||||
#else
|
||||
if (path_is_valid("custom.ini"))
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user