diff options
Diffstat (limited to 'src/shared')
| -rw-r--r-- | src/shared/gameinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/gameinfo.cpp b/src/shared/gameinfo.cpp index f1b72cfb..21e9a586 100644 --- a/src/shared/gameinfo.cpp +++ b/src/shared/gameinfo.cpp @@ -221,7 +221,7 @@ std::wstring GameInfo::getLocalAppFolder() const wchar_t localAppFolder[MAX_PATH];
memset(localAppFolder, '\0', MAX_PATH);
- if (::SHGetFolderPathW(NULL, CSIDL_PERSONAL, NULL, SHGFP_TYPE_CURRENT, localAppFolder) == S_OK) {
+ if (::SHGetFolderPathW(NULL, CSIDL_LOCAL_APPDATA, NULL, SHGFP_TYPE_CURRENT, localAppFolder) == S_OK) {
return localAppFolder;
} else {
// fallback: try the registry
|
