From 00f349a52f5cda80dbff9fedd8082f3a45d7a577 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 21 Oct 2007 20:28:50 +0000 Subject: [PATCH] Patch #1817080: Scumm savegame thumbnail loading patch svn-id: r29244 --- engines/scumm/thumbnail.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/scumm/thumbnail.cpp b/engines/scumm/thumbnail.cpp index c928ed34218..ab43eb49e7a 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) {