From 9336a924065553d94732941900375385284c47ee Mon Sep 17 00:00:00 2001 From: cpasjuste Date: Wed, 29 Apr 2020 11:49:01 +0200 Subject: switch: fix software keyboard validation event, fix paths --- src/dirs.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/dirs.cpp') 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(), -- cgit v1.2.3-70-g09d2