mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
fill_pathname_application_dir - cleanup
This commit is contained in:
parent
8656b3d6f8
commit
be0148406e
@ -1293,14 +1293,14 @@ void fill_pathname_application_dir(char *s, size_t len)
|
||||
void fill_pathname_home_dir(char *s, size_t len)
|
||||
{
|
||||
#ifdef __WINRT__
|
||||
strlcpy(s, uwp_dir_data, len);
|
||||
const char *home = uwp_dir_data;
|
||||
#else
|
||||
const char *home = getenv("HOME");
|
||||
#endif
|
||||
if (home)
|
||||
strlcpy(s, home, len);
|
||||
else
|
||||
*s = 0;
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user