1
0
Fork 0
mirror of https://github.com/Detanup01/gbe_fork.git synced 2025-03-28 14:56:24 +01:00

maxpath *10

This commit is contained in:
Detanup01 2024-11-21 13:58:52 +01:00 committed by GitHub
parent 46b50ad61f
commit 94a7e62ecb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);