aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2007-10-21 20:28:50 +0000
committerMax Horn2007-10-21 20:28:50 +0000
commit00f349a52f5cda80dbff9fedd8082f3a45d7a577 (patch)
tree8b093e501ef85c9cdcc48d206a8eaa5e50a2a386
parentee43757e8642cb81e891b6dd51a41204d00483bb (diff)
downloadscummvm-rg350-00f349a52f5cda80dbff9fedd8082f3a45d7a577.tar.gz
scummvm-rg350-00f349a52f5cda80dbff9fedd8082f3a45d7a577.tar.bz2
scummvm-rg350-00f349a52f5cda80dbff9fedd8082f3a45d7a577.zip
Patch #1817080: Scumm savegame thumbnail loading patch
svn-id: r29244
-rw-r--r--engines/scumm/thumbnail.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/thumbnail.cpp b/engines/scumm/thumbnail.cpp
index c928ed3421..ab43eb49e7 100644
--- a/engines/scumm/thumbnail.cpp
+++ b/engines/scumm/thumbnail.cpp
@@ -79,9 +79,9 @@ Graphics::Surface *ScummEngine::loadThumbnail(Common::InSaveFile *file) {
}
Graphics::Surface *thumb = new Graphics::Surface();
- thumb->create(header.width, header.height, sizeof(uint16));
+ thumb->create(header.width, header.height, sizeof(OverlayColor));
- uint16* pixels = (uint16 *)thumb->pixels;
+ OverlayColor* pixels = (OverlayColor *)thumb->pixels;
for (int y = 0; y < thumb->h; ++y) {
for (int x = 0; x < thumb->w; ++x) {