aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/icons.cpp
diff options
context:
space:
mode:
authorChris Apers2007-12-15 12:02:47 +0000
committerChris Apers2007-12-15 12:02:47 +0000
commit3dd11b260b49aa524897eaff1c7eeca1b20886cb (patch)
tree9bc4d59f1352f057d5b9f2cf823a13dfd68a60e2 /engines/agos/icons.cpp
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
Diffstat (limited to 'engines/agos/icons.cpp')
-rw-r--r--engines/agos/icons.cpp10
1 files changed, 1 insertions, 9 deletions
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;