Permalink
Browse files

d_iwad: Find the GOG install of Doom 3: BFG

Ordered so that vanilla Doom II takes precedence, but Doom II BFG will
be located and loaded before a Final Doom install.
  • Loading branch information...
chungy committed Aug 25, 2017
1 parent cb79364 commit 83a71dd850fb02e571e2b5117f234395f8869a11
Showing with 12 additions and 3 deletions.
  1. +12 −3 src/d_iwad.c
View
@@ -162,6 +162,14 @@ static registry_value_t root_path_keys[] =
"PATH",
},
// Doom 3: BFG Edition
{
HKEY_LOCAL_MACHINE,
SOFTWARE_KEY "\\GOG.com\\Games\\1135892318",
"PATH",
},
// Final Doom
{
@@ -181,9 +189,9 @@ static registry_value_t root_path_keys[] =
// Strife: Veteran Edition
{
HKEY_LOCAL_MACHINE,
SOFTWARE_KEY "\\GOG.com\\Games\\1432899949",
"PATH",
HKEY_LOCAL_MACHINE,
SOFTWARE_KEY "\\GOG.com\\Games\\1432899949",
"PATH",
},
};
@@ -197,6 +205,7 @@ static char *root_path_subdirs[] =
"Ultimate Doom",
"Plutonia",
"TNT",
"base\\wads",
};
// Location where Steam is installed

0 comments on commit 83a71dd

Please sign in to comment.