[PATCH 0/1] MR10946: shell32: Don't add backslash after SHGetSpecialFolderPathW.
This fixes a regression implemented in 984f608c2885c80284ca8f35d6ad72d5193b3658 this breaks the game Hyperdevotion Noire. https://store.steampowered.com/app/415480/Hyperdevotion_Noire_Goddess_Black_... This game runs in proton 6.3-8 but is broken on versions after that. It seems most applications don't care about this, but this one in particular will crash when trying to access the My Documents directory due to this. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10946
From: Arimil <renari@arimil.com> --- dlls/shell32/shfldr_fs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dlls/shell32/shfldr_fs.c b/dlls/shell32/shfldr_fs.c index fabd27e984f..0d74f4578c5 100644 --- a/dlls/shell32/shfldr_fs.c +++ b/dlls/shell32/shfldr_fs.c @@ -1409,7 +1409,6 @@ IFSFldr_PersistFolder3_Initialize (IPersistFolder3 * iface, LPCITEMIDLIST pidl) if (IsEqualCLSID( This->pclsid, &CLSID_MyDocuments )) { if (!SHGetSpecialFolderPathW( 0, wszTemp, CSIDL_PERSONAL, FALSE )) return E_FAIL; - PathAddBackslashW( wszTemp ); } else lstrcpyW( wszTemp, L"\\\\?\\unix\\" ); } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10946
participants (2)
-
Arie Miller (@Arimil) -
Arimil