shithub: choc

Download patch

ref: 7b7076a20c7042b2f71c82317bfbc48e8854dd32
parent: 5a1443a3685eb02b3b97b0be74ebf5936546d02b
author: Simon Howard <[email protected]>
date: Sun Jun 7 10:35:27 EDT 2009

Add IWAD search dirs for Windows CE.

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

--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -487,7 +487,14 @@
 
     AddDoomWadPath();
 
-#if defined(_WIN32) && !defined(_WIN32_WCE)
+#if defined(_WIN32_WCE)
+
+    // Windows CE locations:
+
+    AddIWADDir("\\Storage Card");
+    AddIWADDir(getenv("HOME"));
+
+#elif defined(_WIN32) 
 
     // Search the registry and find where IWADs have been installed.