diff options
Diffstat (limited to 'src/d_iwad.c')
-rw-r--r-- | src/d_iwad.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/d_iwad.c b/src/d_iwad.c index 31f97d5b..59760adb 100644 --- a/src/d_iwad.c +++ b/src/d_iwad.c @@ -76,7 +76,7 @@ static void AddIWADDir(char *dir) // 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> @@ -490,7 +490,14 @@ static void BuildIWADDirList(void) AddDoomWadPath(); -#ifdef _WIN32 +#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. |