diff options
author | Nicolas Bacca | 2002-04-17 20:21:40 +0000 |
---|---|---|
committer | Nicolas Bacca | 2002-04-17 20:21:40 +0000 |
commit | fd6a44e7c52548f0374752071841f696ca5ae0d9 (patch) | |
tree | 4f5c5c767db6cfc0ef3c31f5ed039653893bbbcd | |
parent | 000036124a0f84e9c02be6a3ef106c41dc47f8e4 (diff) | |
download | scummvm-rg350-fd6a44e7c52548f0374752071841f696ca5ae0d9.tar.gz scummvm-rg350-fd6a44e7c52548f0374752071841f696ca5ae0d9.tar.bz2 scummvm-rg350-fd6a44e7c52548f0374752071841f696ca5ae0d9.zip |
Minor WinCE changes
svn-id: r3980
-rw-r--r-- | saveload.cpp | 2 | ||||
-rw-r--r-- | simon/simon.cpp | 2 | ||||
-rw-r--r-- | sound/mididrv.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/saveload.cpp b/saveload.cpp index f71774c899..2d06413fc3 100644 --- a/saveload.cpp +++ b/saveload.cpp @@ -203,7 +203,7 @@ void Scumm::makeSavegameName(char *out, int slot, bool compatible) #else - sprintf(out, "%s%s.%c%.2d", _savegame_dir, _exe_name, + sprintf(out, "%s%s.%c%.2d", _gameDataPath, _exe_name, compatible ? 'c' : 's', slot); #endif diff --git a/simon/simon.cpp b/simon/simon.cpp index e43031aab0..67cd5a4c06 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -9083,7 +9083,7 @@ void dump_bitmap(const char *filename, byte *offs, int w, int h, int flags, cons void SimonState::dump_single_bitmap(int file, int image, byte *offs, int w, int h, byte base) { /* Only supported for win32 atm. mkdir doesn't work otherwise. */ -#ifdef WIN32 +#if defined (WIN32) && !defined(_WIN32_WCE) char buf[255], buf2[255]; struct stat statbuf; diff --git a/sound/mididrv.cpp b/sound/mididrv.cpp index b09bde000a..39ab656775 100644 --- a/sound/mididrv.cpp +++ b/sound/mididrv.cpp @@ -34,7 +34,7 @@ #include "scumm.h" #include "mididrv.h" -#ifdef WIN32 +#if defined(WIN32) && !defined(_WIN32_WCE) /* Windows MIDI driver */ class MidiDriver_WIN : public MidiDriver { |