diff options
-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 { |