mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
Applying agentq's screenshot loading fix to the trunk as well
svn-id: r27816
This commit is contained in:
parent
b49b2b7db3
commit
6a2bbea165
@ -258,7 +258,10 @@ bool SaveLoad_v3::loadScreenshot(int16 dataVar, int32 size, int32 offset) {
|
||||
}
|
||||
|
||||
in->seek(1040 + varSize * 2);
|
||||
return loadSprite(*in, size);
|
||||
|
||||
bool success = loadSprite(*in, size);
|
||||
delete in;
|
||||
return success;
|
||||
|
||||
} else
|
||||
warning("Invalid attempt at loading a screenshot (%d, %d, %d, %d)",
|
||||
|
Loading…
x
Reference in New Issue
Block a user