Skip to content

Commit

Permalink
iwad: Support autoloading GOG.com releases of Heretic and Hexen (#1338)
Browse files Browse the repository at this point in the history
Fixes #1337
  • Loading branch information
chungy committed Dec 22, 2020
1 parent ca81c11 commit 49ce3ad
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/d_iwad.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,30 @@ static registry_value_t root_path_keys[] =
SOFTWARE_KEY "\\GOG.com\\Games\\1432899949",
"PATH",
},

// Heretic

{
HKEY_LOCAL_MACHINE,
SOFTWARE_KEY "\\GOG.com\\Games\\1290366318",
"PATH",
},

// Hexen

{
HKEY_LOCAL_MACHINE,
SOFTWARE_KEY "\\GOG.com\\Games\\1247951670",
"PATH",
},

// Hexen: Deathkings of a Dark Citadel

{
HKEY_LOCAL_MACHINE,
SOFTWARE_KEY "\\GOG.com\\Games\\1983497091",
"PATH",
},
};

// Subdirectories of the above install path, where IWADs are installed.
Expand Down

0 comments on commit 49ce3ad

Please sign in to comment.