From fd6a44e7c52548f0374752071841f696ca5ae0d9 Mon Sep 17 00:00:00 2001 From: Nicolas Bacca Date: Wed, 17 Apr 2002 20:21:40 +0000 Subject: Minor WinCE changes svn-id: r3980 --- saveload.cpp | 2 +- simon/simon.cpp | 2 +- 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 { -- cgit v1.2.3