mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-23 02:11:38 +00:00
Make sure error message is consistent regardless of endianess
svn-id: r19258
This commit is contained in:
parent
1eed529803
commit
2e6b615c91
@ -1474,7 +1474,7 @@ int ScummEngine::readSoundResource(int type, int idx) {
|
|||||||
_fileHandle->read(res.createResource(type, idx, total_size), total_size);
|
_fileHandle->read(res.createResource(type, idx, total_size), total_size);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
error("Unrecognized base tag 0x%08x in sound %d", basetag, idx);
|
error("Unrecognized base tag 0x%08x in sound %d", TO_BE_32(basetag), idx);
|
||||||
}
|
}
|
||||||
res.roomoffs[type][idx] = 0xFFFFFFFF;
|
res.roomoffs[type][idx] = 0xFFFFFFFF;
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user