- fixed: saving the config to the user's known folders should use the GAME_DIR #define, not 'zdoom' so that child ports can have their own.

This commit is contained in:
Christoph Oelckers 2013-09-18 09:40:40 +02:00
commit f591c5df5e
2 changed files with 3 additions and 1 deletions

View file

@ -195,7 +195,7 @@ FString M_GetConfigPath(bool for_reading)
// Construct a user-specific config name
if (UseKnownFolders() && GetKnownFolder(CSIDL_APPDATA, FOLDERID_RoamingAppData, true, path))
{
path += "/zdoom";
path << '/' << GAME_DIR;
CreatePath(path);
path += "/zdoom.ini";
}