mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-08-31 21:29:05 +00:00
Windows: on 64-bit Windows, more System favorite service from SysWoW64 to System32 since now all binaries are native 64-bit on 64-bit machines.
This commit is contained in:
@@ -8264,11 +8264,11 @@ char *GetProgramConfigPath (char *fileName)
|
||||
}
|
||||
|
||||
|
||||
std::string GetServiceConfigPath (const char *fileName)
|
||||
std::string GetServiceConfigPath (const char *fileName, bool useLegacy)
|
||||
{
|
||||
char sysPath[TC_MAX_PATH];
|
||||
|
||||
if (Is64BitOs())
|
||||
if (Is64BitOs() && useLegacy)
|
||||
{
|
||||
typedef UINT (WINAPI *GetSystemWow64Directory_t) (LPTSTR lpBuffer, UINT uSize);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user