mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 02:44:56 +00:00
Fixing mismatch between format strings and data on some systems
svn-id: r21828
This commit is contained in:
parent
cf202049ff
commit
2c3e1fe4ea
@ -1421,7 +1421,7 @@ uint16 Control::parseSaveData(uint8 *srcBuf) {
|
|||||||
_skyCompact->fetchCpt(cnt)->status = 0;
|
_skyCompact->fetchCpt(cnt)->status = 0;
|
||||||
|
|
||||||
if (srcPos - srcBuf != (int32)size)
|
if (srcPos - srcBuf != (int32)size)
|
||||||
error("Restore failed! Savegame data = %lu bytes. Expected size: %d", srcPos-srcBuf, size);
|
error("Restore failed! Savegame data = %lu bytes. Expected size: %d", (long)(srcPos-srcBuf), size);
|
||||||
|
|
||||||
_skyDisk->refreshFilesList(reloadList);
|
_skyDisk->refreshFilesList(reloadList);
|
||||||
SkyEngine::_systemVars.currentMusic = (uint16)music;
|
SkyEngine::_systemVars.currentMusic = (uint16)music;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user