From 94a7e62ecb6bdf47e94741f7af4fc74b18e056f1 Mon Sep 17 00:00:00 2001 From: Detanup01 <91248446+Detanup01@users.noreply.github.com> Date: Thu, 21 Nov 2024 13:58:52 +0100 Subject: [PATCH] maxpath *10 --- dll/local_storage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/local_storage.cpp b/dll/local_storage.cpp index ee601fac..45d2871a 100644 --- a/dll/local_storage.cpp +++ b/dll/local_storage.cpp @@ -469,7 +469,7 @@ std::string Local_Storage::get_user_appdata_path() { std::string user_appdata_path("SAVE"); #if defined(STEAM_WIN32) - WCHAR szPath[MAX_PATH] = {}; + WCHAR szPath[MAX_PATH * 10] = {}; HRESULT hr = SHGetFolderPathW(NULL, CSIDL_APPDATA, NULL, 0, szPath);