mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 22:45:34 +00:00
Forgot that IsWow64Process would return false on a native 64-bit application
This commit is contained in:
parent
c796c81d00
commit
b6915a6090
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ boost::filesystem::path WindowsPath::getInstallPath() const
|
|||
|
||||
BOOL f64 = FALSE;
|
||||
LPCTSTR regkey;
|
||||
if (IsWow64Process(GetCurrentProcess(), &f64) && f64)
|
||||
if ((IsWow64Process(GetCurrentProcess(), &f64) && f64) || sizeof(void*) == 8)
|
||||
{
|
||||
regkey = "SOFTWARE\\Wow6432Node\\Bethesda Softworks\\Morrowind";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue