aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Apers2007-12-15 12:02:47 +0000
committerChris Apers2007-12-15 12:02:47 +0000
commit3dd11b260b49aa524897eaff1c7eeca1b20886cb (patch)
tree9bc4d59f1352f057d5b9f2cf823a13dfd68a60e2
parent9b77034daf75a32d2162c0ab1d7e97a286fd7ced (diff)
downloadscummvm-rg350-3dd11b260b49aa524897eaff1c7eeca1b20886cb.tar.gz
scummvm-rg350-3dd11b260b49aa524897eaff1c7eeca1b20886cb.tar.bz2
scummvm-rg350-3dd11b260b49aa524897eaff1c7eeca1b20886cb.zip
Remove bad workaround and change compiler options (no optimization, no inline)
svn-id: r29862
-rw-r--r--backends/platform/PalmOS/scummvm.mcpbin1090890 -> 1147982 bytes
-rw-r--r--engines/agos/icons.cpp10
2 files changed, 1 insertions, 9 deletions
diff --git a/backends/platform/PalmOS/scummvm.mcp b/backends/platform/PalmOS/scummvm.mcp
index 95b020a677..a01967d059 100644
--- a/backends/platform/PalmOS/scummvm.mcp
+++ b/backends/platform/PalmOS/scummvm.mcp
Binary files 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;