We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28e71ed commit 8da928bCopy full SHA for 8da928b
Client/loader/MainFunctions.cpp
@@ -1832,7 +1832,7 @@ int LaunchGame(SString strCmdLine)
1832
1833
const SString strGTAPath = GetGTAPath();
1834
const SString strMTASAPath = GetMTASAPath();
1835
- const SString strGTAEXEPath = UTF8FilePath(GetGameExecutablePath());
+ const SString strGTAEXEPath = GetGameExecutablePath().u8string();
1836
1837
if (!ValidatePathSecurity(strGTAPath) || !ValidatePathSecurity(strMTASAPath) || !ValidatePathSecurity(strGTAEXEPath))
1838
{
0 commit comments