shithub: choc

Download patch

ref: 5e91906781f8783b26a735dc57b17eba2fe9da36
parent: 335519949adf7c7ef2486769357fd25827926f6b
author: Mike Swanson <mikeonthecomputer@gmail.com>
date: Fri Jul 22 20:06:22 EDT 2016

d_iwad: re-sort the GOG.com games by vanilla IWAD loading order

doom.wad was being picked as the default game with no `-iwad`
parameter passed.  This will make it so doom2.wad, plutonia.wad, and
tnt.wad get automatically chosen first.

--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -154,19 +154,19 @@
         "INSTALLPATH",
     },
 
-    // Ultimate Doom
+    // Doom II
 
     {
         HKEY_LOCAL_MACHINE,
-        SOFTWARE_KEY "\\GOG.com\\Games\\1435827232",
+        SOFTWARE_KEY "\\GOG.com\\Games\\1435848814",
         "PATH",
     },
 
-    // Doom II
+    // Ultimate Doom
 
     {
         HKEY_LOCAL_MACHINE,
-        SOFTWARE_KEY "\\GOG.com\\Games\\1435848814",
+        SOFTWARE_KEY "\\GOG.com\\Games\\1435827232",
         "PATH",
     },