aboutsummaryrefslogtreecommitdiff
path: root/sword2/tony_gsdk.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-09-27 11:02:58 +0000
committerTorbjörn Andersson2003-09-27 11:02:58 +0000
commit8ad28e3a7e3a4696f05e067ad51f504cda306502 (patch)
tree93c3199f65732d5590b3cab9ae7c7215acef6992 /sword2/tony_gsdk.cpp
parent5f2d799fd22aa95d3fe075c736574a1941f6a5e8 (diff)
downloadscummvm-rg350-8ad28e3a7e3a4696f05e067ad51f504cda306502.tar.gz
scummvm-rg350-8ad28e3a7e3a4696f05e067ad51f504cda306502.tar.bz2
scummvm-rg350-8ad28e3a7e3a4696f05e067ad51f504cda306502.zip
More cleanup, and I've replaced most - not quite all - of BS2's debug
message functions with our own. We still need to go through them and assign sensible debug levels to them. svn-id: r10422
Diffstat (limited to 'sword2/tony_gsdk.cpp')
-rw-r--r--sword2/tony_gsdk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sword2/tony_gsdk.cpp b/sword2/tony_gsdk.cpp
index 9d6b5f0227..537a7c8776 100644
--- a/sword2/tony_gsdk.cpp
+++ b/sword2/tony_gsdk.cpp
@@ -37,7 +37,7 @@ uint32 Read_file(const char *name, mem **membloc, uint32 uid) {
uint32 size;
if (!fh.open(name)) {
- Zdebug("Read_file cannot open %s", name);
+ debug(5, "Read_file cannot open %s", name);
return 0;
}
@@ -47,7 +47,7 @@ uint32 Read_file(const char *name, mem **membloc, uint32 uid) {
*membloc = Twalloc(size, MEM_float, uid);
if (fh.read((*membloc)->ad, size) != size) {
- Zdebug("Read_file read fail %d", name);
+ debug(5, "Read_file read fail %d", name);
return 0;
}