summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2009-06-07 14:35:27 +0000
committerSimon Howard2009-06-07 14:35:27 +0000
commit7b7076a20c7042b2f71c82317bfbc48e8854dd32 (patch)
tree83924ed203d6f4d6c2b12d00a14b3cd04330ffb6 /src
parent5a1443a3685eb02b3b97b0be74ebf5936546d02b (diff)
downloadchocolate-doom-7b7076a20c7042b2f71c82317bfbc48e8854dd32.tar.gz
chocolate-doom-7b7076a20c7042b2f71c82317bfbc48e8854dd32.tar.bz2
chocolate-doom-7b7076a20c7042b2f71c82317bfbc48e8854dd32.zip
Add IWAD search dirs for Windows CE.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1565
Diffstat (limited to 'src')
-rw-r--r--src/d_iwad.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/d_iwad.c b/src/d_iwad.c
index 8794e9be..d1c2f0bf 100644
--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -487,7 +487,14 @@ static void BuildIWADDirList(void)
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.