mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-08-10 17:35:34 +02:00
maxpath *10
This commit is contained in:
parent
46b50ad61f
commit
94a7e62ecb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue