aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorTravis Howell2007-03-14 12:34:40 +0000
committerTravis Howell2007-03-14 12:34:40 +0000
commit247117d9bacd6c6e89f73c140b9a3137a1ee70e1 (patch)
tree684ae464e99df41aa464be0a459658607850175f /engines/agos
parent93e316bec745f92c1970c39b92d438b4840753c4 (diff)
downloadscummvm-rg350-247117d9bacd6c6e89f73c140b9a3137a1ee70e1.tar.gz
scummvm-rg350-247117d9bacd6c6e89f73c140b9a3137a1ee70e1.tar.bz2
scummvm-rg350-247117d9bacd6c6e89f73c140b9a3137a1ee70e1.zip
Update error messages in loadModule().
svn-id: r26131
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/res_snd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agos/res_snd.cpp b/engines/agos/res_snd.cpp
index 292eb06a80..614608a54f 100644
--- a/engines/agos/res_snd.cpp
+++ b/engines/agos/res_snd.cpp
@@ -133,7 +133,7 @@ void AGOSEngine::loadModule(uint music) {
f.open(filename);
if (f.isOpen() == false) {
- error("loadMusic: Can't load module from '%s'", filename);
+ error("loadModule: Can't load module from '%s'", filename);
}
Audio::AudioStream *audioStream;
@@ -143,7 +143,7 @@ void AGOSEngine::loadModule(uint music) {
uint srcSize = f.size();
byte *srcBuf = (byte *)malloc(srcSize);
if (f.read(srcBuf, srcSize) != srcSize)
- error("loadMusic: Read failed");
+ error("loadModule: Read failed");
uint dstSize = READ_BE_UINT32(srcBuf + srcSize - 4);
byte *dstBuf = (byte *)malloc(dstSize);