diff options
author | Einar Johan Trøan Sømåen | 2012-07-27 19:35:20 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-27 19:35:20 +0200 |
commit | c7fa8e7d1024e4447a7396b5099870d01b775746 (patch) | |
tree | 9fa68cf963e7be42015d5a15ef6fec2c716f8a5c /engines/wintermute/system/sys_class_registry.cpp | |
parent | 99d4c55e88712a0b0dc0d97e4c9c52946a5f48f2 (diff) | |
download | scummvm-rg350-c7fa8e7d1024e4447a7396b5099870d01b775746.tar.gz scummvm-rg350-c7fa8e7d1024e4447a7396b5099870d01b775746.tar.bz2 scummvm-rg350-c7fa8e7d1024e4447a7396b5099870d01b775746.zip |
WINTERMUTE: Move settings-files to save-dir (gzipped xml now)
Diffstat (limited to 'engines/wintermute/system/sys_class_registry.cpp')
-rw-r--r-- | engines/wintermute/system/sys_class_registry.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/wintermute/system/sys_class_registry.cpp b/engines/wintermute/system/sys_class_registry.cpp index 47910af4e8..09e43529e3 100644 --- a/engines/wintermute/system/sys_class_registry.cpp +++ b/engines/wintermute/system/sys_class_registry.cpp @@ -82,9 +82,7 @@ bool SystemClassRegistry::unregisterClass(SystemClass *classObj) { }
if (classObj->getNumInstances() != 0) {
- char str[MAX_PATH_LENGTH];
- sprintf(str, "Memory leak@class %-20s: %d instance(s) left\n", classObj->getName().c_str(), classObj->getNumInstances());
- BasePlatform::outputDebugString(str);
+ debugC(WinterMute::kWinterMuteDebugSaveGame, "Memory leak@class %-20s: %d instance(s) left\n", classObj->getName().c_str(), classObj->getNumInstances());
}
_classes.erase(it);
|