aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/thumbnail.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2006-07-23 02:20:49 +0000
committerJohannes Schickel2006-07-23 02:20:49 +0000
commita68f7100cef07e096a592307e1eebd17e061de11 (patch)
tree014051cb2fcc2320d0d260f65db3b8be811b8214 /engines/scumm/thumbnail.cpp
parent9ab0c1d9152f29d439b5ef84f6bf93a783dd711f (diff)
downloadscummvm-rg350-a68f7100cef07e096a592307e1eebd17e061de11.tar.gz
scummvm-rg350-a68f7100cef07e096a592307e1eebd17e061de11.tar.bz2
scummvm-rg350-a68f7100cef07e096a592307e1eebd17e061de11.zip
No need for packing SaveInfoSection and ThumbnailHeader anymore.
svn-id: r23572
Diffstat (limited to 'engines/scumm/thumbnail.cpp')
-rw-r--r--engines/scumm/thumbnail.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/engines/scumm/thumbnail.cpp b/engines/scumm/thumbnail.cpp
index a76088949e..023848c02a 100644
--- a/engines/scumm/thumbnail.cpp
+++ b/engines/scumm/thumbnail.cpp
@@ -31,8 +31,6 @@ namespace Scumm {
#define THMB_VERSION 1
-#include <common/pack-start.h> // START STRUCT PACKING
-
struct ThumbnailHeader {
uint32 type;
uint32 size;
@@ -43,9 +41,6 @@ struct ThumbnailHeader {
#define ThumbnailHeaderSize (4+4+1+2+2+1)
-#include <common/pack-end.h> // END STRUCT PACKING
-
-
inline void colorToRGB(uint16 color, uint8 &r, uint8 &g, uint8 &b) {
r = (((color >> 11) & 0x1F) << 3);
g = (((color >> 5) & 0x3F) << 2);