diff options
author | Max Horn | 2007-10-21 20:28:50 +0000 |
---|---|---|
committer | Max Horn | 2007-10-21 20:28:50 +0000 |
commit | 00f349a52f5cda80dbff9fedd8082f3a45d7a577 (patch) | |
tree | 8b093e501ef85c9cdcc48d206a8eaa5e50a2a386 | |
parent | ee43757e8642cb81e891b6dd51a41204d00483bb (diff) | |
download | scummvm-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.cpp | 4 |
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) { |