mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 11:15:34 +08:00
maxpath *10
This commit is contained in:
parent
46b50ad61f
commit
94a7e62ecb
@ -469,7 +469,7 @@ std::string Local_Storage::get_user_appdata_path()
|
|||||||
{
|
{
|
||||||
std::string user_appdata_path("SAVE");
|
std::string user_appdata_path("SAVE");
|
||||||
#if defined(STEAM_WIN32)
|
#if defined(STEAM_WIN32)
|
||||||
WCHAR szPath[MAX_PATH] = {};
|
WCHAR szPath[MAX_PATH * 10] = {};
|
||||||
|
|
||||||
HRESULT hr = SHGetFolderPathW(NULL, CSIDL_APPDATA, NULL, 0, szPath);
|
HRESULT hr = SHGetFolderPathW(NULL, CSIDL_APPDATA, NULL, 0, szPath);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user