diff options
| author | Thomas Tanner <trtanner@btinternet.com> | 2015-12-05 19:13:05 +0000 |
|---|---|---|
| committer | Thomas Tanner <trtanner@btinternet.com> | 2015-12-05 19:13:05 +0000 |
| commit | 235d893eb845c3c8c0edb9dcdb703ce3ec31bdb5 (patch) | |
| tree | 14f0902f6ba9626447f57795604a6f7e5f479f1a /src/shared/gameinfo.cpp | |
| parent | c2ed844eeb2d213a72c405eb47e077da00f084fe (diff) | |
Gets rid of last vestiges of GameInfo apart from startup and hookdll
Working on sorting out savegame stuff
Diffstat (limited to 'src/shared/gameinfo.cpp')
| -rw-r--r-- | src/shared/gameinfo.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/shared/gameinfo.cpp b/src/shared/gameinfo.cpp index e77b9d17..5c13a520 100644 --- a/src/shared/gameinfo.cpp +++ b/src/shared/gameinfo.cpp @@ -134,19 +134,6 @@ std::wstring GameInfo::getGameDirectory() const return m_GameDirectory;
}
-std::wstring GameInfo::getLocalAppFolder() const
-{
- wchar_t localAppFolder[MAX_PATH];
- memset(localAppFolder, '\0', MAX_PATH * sizeof(wchar_t));
-
- if (::SHGetFolderPathW(nullptr, CSIDL_LOCAL_APPDATA, nullptr, SHGFP_TYPE_CURRENT, localAppFolder) == S_OK) {
- return localAppFolder;
- } else {
- // fallback: try the registry
- return getSpecialPath(L"Local AppData");
- }
-}
-
std::wstring GameInfo::getSpecialPath(LPCWSTR name) const
{
HKEY key;
|
