diff options
author | cpasjuste <cpasjuste@gmail.com> | 2020-04-29 11:49:01 +0200 |
---|---|---|
committer | cpasjuste <cpasjuste@gmail.com> | 2020-04-29 11:49:01 +0200 |
commit | 9336a924065553d94732941900375385284c47ee (patch) | |
tree | a766f3851e210bd155ab1eb23aee7b383d57c217 /src/dirs.cpp | |
parent | 63fd641252dd035e51730fa2172f6faea0d5f756 (diff) | |
download | manaplus-9336a924065553d94732941900375385284c47ee.tar.gz manaplus-9336a924065553d94732941900375385284c47ee.tar.bz2 manaplus-9336a924065553d94732941900375385284c47ee.tar.xz manaplus-9336a924065553d94732941900375385284c47ee.zip |
switch: fix software keyboard validation event, fix paths
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(), |