parent
ee43757e86
commit
00f349a52f
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue