diff options
Diffstat (limited to 'src/dirs.cpp')
-rw-r--r-- | src/dirs.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dirs.cpp b/src/dirs.cpp index 26c0032d9..e33407fff 100644 --- a/src/dirs.cpp +++ b/src/dirs.cpp @@ -359,6 +359,8 @@ void Dirs::initLocalDataDir() "local"); #elif defined __native_client__ settings.localDataDir = pathJoin(_nacl_dir, "local"); +#elif defined __SWITCH__ + settings.localDataDir = pathJoin(VirtFs::getUserDir(),"local"); #else // __APPLE__ settings.localDataDir = pathJoin(VirtFs::getUserDir(), @@ -421,6 +423,8 @@ void Dirs::initConfigDir() "config"); #elif defined __native_client__ settings.configDir = pathJoin(_nacl_dir, "config"); +#elif defined __SWITCH__ + settings.configDir = pathJoin(VirtFs::getUserDir(), "config"); #else // __APPLE__ settings.configDir = pathJoin(VirtFs::getUserDir(), |