aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorEugene Sandulenko2004-02-20 00:46:30 +0000
committerEugene Sandulenko2004-02-20 00:46:30 +0000
commit9f073e44c7fd7be0ff8d4c8f55995a8407dfc6da (patch)
tree230253b48ad2bfb252e558636213a7189967b48f /scumm
parent5d8bf5faf8b876bc30b49a6f40ad1befe9783199 (diff)
downloadscummvm-rg350-9f073e44c7fd7be0ff8d4c8f55995a8407dfc6da.tar.gz
scummvm-rg350-9f073e44c7fd7be0ff8d4c8f55995a8407dfc6da.tar.bz2
scummvm-rg350-9f073e44c7fd7be0ff8d4c8f55995a8407dfc6da.zip
oops. Restored needed debug output.
svn-id: r12937
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v6he.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp
index 02b56dadb7..da505c80f7 100644
--- a/scumm/script_v6he.cpp
+++ b/scumm/script_v6he.cpp
@@ -1054,6 +1054,8 @@ void ScummEngine_v6he::o6_readFile() {
int32 size = pop();
int slot = pop();
+ debug(1, "o6_readFile(%d, %d)", slot, size);
+
// Fatty Bear uses positive values
if (_gameId == GID_FBEAR)
size = -size;
@@ -1065,7 +1067,6 @@ void ScummEngine_v6he::o6_readFile() {
} else {
push(readFileToArray(slot, size));
}
- debug(1, "o6_readFile(%d, %d)", slot, size);
}
void ScummEngine_v6he::writeFileFromArray(int slot, int resID) {
@@ -1081,6 +1082,8 @@ void ScummEngine_v6he::o6_writeFile() {
int16 resID = pop();
int slot = pop();
+ debug(1, "o6_writeFile(%d, %d, %d)", slot, resID, size);
+
// Fatty Bear uses positive values
if (_gameId == GID_FBEAR)
size = -size;