mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-28 06:43:01 +05:00
SA: Call the game's own User Files path getter to make device_remembered.set respect Portable GTA's changes
Fixes #105
This commit is contained in:
parent
202101e4f7
commit
47e7ab6b1f
2 changed files with 3 additions and 3 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 0c6cb62fbee9ff278cc9ff61b4b8b39403812945
|
||||
Subproject commit 95e523fa7494c0353b7ecfab408024a9d7b7e161
|
|
@ -2614,7 +2614,7 @@ namespace NewResolutionSelectionDialog
|
|||
static bool ShouldSkipDeviceSelection()
|
||||
{
|
||||
char cTmpPath[MAX_PATH];
|
||||
PathCombineA(cTmpPath, GetMyDocumentsPathSA(), SettingsFileName);
|
||||
PathCombineA(cTmpPath, orgGetDocumentsPath(), SettingsFileName);
|
||||
|
||||
bool bSkip = false;
|
||||
|
||||
|
@ -2631,7 +2631,7 @@ namespace NewResolutionSelectionDialog
|
|||
static void RememberDeviceSelection(bool bDoNotShowAgain)
|
||||
{
|
||||
char cTmpPath[MAX_PATH];
|
||||
PathCombineA(cTmpPath, GetMyDocumentsPathSA(), SettingsFileName);
|
||||
PathCombineA(cTmpPath, orgGetDocumentsPath(), SettingsFileName);
|
||||
|
||||
FILE* hFile = nullptr;
|
||||
if (fopen_s(&hFile, cTmpPath, "w") == 0)
|
||||
|
|
Loading…
Reference in a new issue