From 2e6b615c91d32077fa3d28fbc7233da8752bec92 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 23 Oct 2005 11:14:25 +0000 Subject: Make sure error message is consistent regardless of endianess svn-id: r19258 --- scumm/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3