diff options
-rw-r--r-- | simon/debug.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/simon/debug.cpp b/simon/debug.cpp index 749a83d7b0..40c105151e 100644 --- a/simon/debug.cpp +++ b/simon/debug.cpp @@ -356,7 +356,7 @@ static void dump_bitmap(const char *filename, const byte *offs, int w, int h, in void SimonEngine::dump_single_bitmap(int file, int image, const byte *offs, int w, int h, byte base) { char buf[40]; -#if !defined(PALMOS_MODE) && !defined(__DC__) && !defined(__PSP__) +#if !defined(PALMOS_MODE) && !defined(__DC__) && !defined(__PSP__) && !defined(__PLAYSTATION2__) struct stat statbuf; #endif @@ -366,7 +366,7 @@ void SimonEngine::dump_single_bitmap(int file, int image, const byte *offs, int sprintf(buf, "dumps/File%d_Image%d.bmp", file, image); #endif -#if !defined(PALMOS_MODE) && !defined(__DC__) && !defined(__PSP__) +#if !defined(PALMOS_MODE) && !defined(__DC__) && !defined(__PSP__) && !defined(__PLAYSTATION2__) if (stat(buf, &statbuf) == 0) return; #endif |