mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Fix Windows 32bits compilation
Signed-off-by: Stephen L. <lrq3000@gmail.com>
This commit is contained in:
parent
cd41690fc3
commit
0374f0710b
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ char *Sys_SteamPath( void )
|
|||
DWORD pathLen = MAX_OSPATH;
|
||||
qboolean finishPath = qfalse;
|
||||
|
||||
#ifdef STEAMPATH_APPID
|
||||
#if defined(STEAMPATH_APPID) && defined(KEY_WOW64_32KEY)
|
||||
// Assuming Steam is a 32-bit app
|
||||
if (!steamPath[0] && !RegOpenKeyEx(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam App " STEAMPATH_APPID, 0, KEY_QUERY_VALUE | KEY_WOW64_32KEY, &steamRegKey))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue