aboutsummaryrefslogtreecommitdiff
path: root/scumm/thumbnail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/thumbnail.cpp')
-rw-r--r--scumm/thumbnail.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/thumbnail.cpp b/scumm/thumbnail.cpp
index 1a4e6a1e31..c3d6f33898 100644
--- a/scumm/thumbnail.cpp
+++ b/scumm/thumbnail.cpp
@@ -109,7 +109,7 @@ void ScummEngine::saveThumbnail(Common::OutSaveFile *file) {
ThumbnailHeader header;
header.type = MKID('THMB');
-#ifdef PALMOS_ARM
+#if defined(PALMOS_ARM) || defined(__GP32__)
// sizeof(header) is hardcoded here, because the compiler add padding to
// have a 4byte aligned struct and there is no easy way to pack it.
header.size = 14 + thumb.w*thumb.h*thumb.bytesPerPixel;