aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-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);