shithub: choc

Download patch

ref: dc8c45c667bc327e5e84e1d98d3f8b468d7a1553
parent: e3e71290f86c785a29ec6b9eeb609c7625776255
author: Simon Howard <[email protected]>
date: Sat Jun 6 17:13:44 EDT 2009

Don't check for Steam/CD installer versions on Windows CE.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1552

--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -63,7 +63,7 @@
 // keys installed by the Windows installers for various CD versions
 // of Doom.  From these keys we can deduce where to find an IWAD.
 
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(_WIN32_WCE)
 
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
@@ -487,7 +487,7 @@
 
     AddDoomWadPath();
 
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(_WIN32_WCE)
 
     // Search the registry and find where IWADs have been installed.