From 3dd11b260b49aa524897eaff1c7eeca1b20886cb Mon Sep 17 00:00:00 2001 From: Chris Apers Date: Sat, 15 Dec 2007 12:02:47 +0000 Subject: Remove bad workaround and change compiler options (no optimization, no inline) svn-id: r29862 --- backends/platform/PalmOS/scummvm.mcp | Bin 1090890 -> 1147982 bytes engines/agos/icons.cpp | 10 +--------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/backends/platform/PalmOS/scummvm.mcp b/backends/platform/PalmOS/scummvm.mcp index 95b020a677..a01967d059 100644 Binary files a/backends/platform/PalmOS/scummvm.mcp and b/backends/platform/PalmOS/scummvm.mcp differ diff --git a/engines/agos/icons.cpp b/engines/agos/icons.cpp index 48272083a2..f38828f086 100644 --- a/engines/agos/icons.cpp +++ b/engines/agos/icons.cpp @@ -91,15 +91,7 @@ static void decompressIconPlanar(byte *dst, byte *src, uint width, uint height, if (decompress) { icon_pln = (byte *)calloc(width * height, 1); -#ifdef PALMOS_MODE - /* FIXME: (PalmOS) This is the only way I found to workaround bug #1738485. - The compiler seems to fail to compile this piece of code at full optimization. - Reducing the optimization option make games crash earlier. - Don't ask me why... a simple printf at this location fix the problem. - Unfortunately debugging on PalmOS is a real pain :( - */ - printf(""); -#endif + // Decode RLE planar icon data i = src; o = icon_pln; -- cgit v1.2.3