aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2005-10-23 11:14:25 +0000
committerMax Horn2005-10-23 11:14:25 +0000
commit2e6b615c91d32077fa3d28fbc7233da8752bec92 (patch)
tree5f7ebe1bb0acd105a68a8abed946a9c07d234475 /scumm
parent1eed529803d7022da798320ffa9beed8a62b5b4c (diff)
downloadscummvm-rg350-2e6b615c91d32077fa3d28fbc7233da8752bec92.tar.gz
scummvm-rg350-2e6b615c91d32077fa3d28fbc7233da8752bec92.tar.bz2
scummvm-rg350-2e6b615c91d32077fa3d28fbc7233da8752bec92.zip
Make sure error message is consistent regardless of endianess
svn-id: r19258
Diffstat (limited to 'scumm')
-rw-r--r--scumm/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index d9022e44b9..cc6afeb9af 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -1474,7 +1474,7 @@ int ScummEngine::readSoundResource(int type, int idx) {
_fileHandle->read(res.createResource(type, idx, total_size), total_size);
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;
return 0;