diff --git a/src/main.c b/src/main.c index d0d1df6ce..c27bc7755 100644 --- a/src/main.c +++ b/src/main.c @@ -256,7 +256,11 @@ static void getPlatformUserDir(char * const tmpstr, size_t const size) #if defined(WZ_OS_WIN) ASSERT(size >= MAX_PATH, "size (%u) is smaller than the required minimum of MAX_PATH (%u)", size, (size_t)MAX_PATH); if ( SUCCEEDED( SHGetFolderPathA( NULL, CSIDL_PERSONAL|CSIDL_FLAG_CREATE, NULL, SHGFP_TYPE_CURRENT, tmpstr ) ) ) + { strlcat(tmpstr, PHYSFS_getDirSeparator(), size); + strlcat(tmpstr, "My Games", size); + strlcat(tmpstr, PHYSFS_getDirSeparator(), size); + } else #elif defined(WZ_OS_MAC) short vol_ref;