aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/debug.cpp
diff options
context:
space:
mode:
authorTravis Howell2009-03-08 10:08:09 +0000
committerTravis Howell2009-03-08 10:08:09 +0000
commit56189fcf30e0f0bcf086d82896a26e6bda2b0bc0 (patch)
treeadd856e36814ad2c568166b71a3f02d1587392e0 /engines/agos/debug.cpp
parenta630759d6db2d3f0aae4b7baf9a1e0fcf323f2e1 (diff)
downloadscummvm-rg350-56189fcf30e0f0bcf086d82896a26e6bda2b0bc0.tar.gz
scummvm-rg350-56189fcf30e0f0bcf086d82896a26e6bda2b0bc0.tar.bz2
scummvm-rg350-56189fcf30e0f0bcf086d82896a26e6bda2b0bc0.zip
Clarify several errors messages.
svn-id: r39219
Diffstat (limited to 'engines/agos/debug.cpp')
-rw-r--r--engines/agos/debug.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/agos/debug.cpp b/engines/agos/debug.cpp
index 0959d48e07..8ff4ca0187 100644
--- a/engines/agos/debug.cpp
+++ b/engines/agos/debug.cpp
@@ -220,7 +220,7 @@ void AGOSEngine::dumpVideoScript(const byte *src, bool singeOpcode) {
}
if (opcode >= _numVideoOpcodes) {
- error("Invalid opcode %x", opcode);
+ error("dumpVideoScript: Opcode %d out of range (%d)", opcode, _numVideoOpcodes);
}
if (getGameType() == GType_FF || getGameType() == GType_PP) {
@@ -238,7 +238,7 @@ void AGOSEngine::dumpVideoScript(const byte *src, bool singeOpcode) {
}
if (strn == NULL) {
- error("dumpVideoScript: INVALID OPCODE %d", opcode);
+ error("dumpVideoScript: Invalid Opcode %d", opcode);
}
while (*strn != '|')
@@ -278,7 +278,7 @@ void AGOSEngine::dumpVideoScript(const byte *src, bool singeOpcode) {
src += 2;
break;
default:
- error("Invalid fmt string '%c' in decompile VGA", *str);
+ error("dumpVideoScript: Invalid fmt string '%c' in decompile VGA", *str);
}
}