diff options
author | yinsimei | 2017-06-03 19:50:02 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-13 18:27:45 +0200 |
commit | 00b64e01d40a6d11f098b13ffd3ceda9d544bfc7 (patch) | |
tree | b7ba83175e6a6f07f1fc7b218e2cc632dbc8515c /engines/sludge/newfatal.cpp | |
parent | 733e758fcb16b824742450fe0d2a003abb977729 (diff) | |
download | scummvm-rg350-00b64e01d40a6d11f098b13ffd3ceda9d544bfc7.tar.gz scummvm-rg350-00b64e01d40a6d11f098b13ffd3ceda9d544bfc7.tar.bz2 scummvm-rg350-00b64e01d40a6d11f098b13ffd3ceda9d544bfc7.zip |
SLUDGE: Add debug channel for fatal msg
Diffstat (limited to 'engines/sludge/newfatal.cpp')
-rw-r--r-- | engines/sludge/newfatal.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sludge/newfatal.cpp b/engines/sludge/newfatal.cpp index 477a7f9673..9441569559 100644 --- a/engines/sludge/newfatal.cpp +++ b/engines/sludge/newfatal.cpp @@ -35,6 +35,7 @@ #include "stringy.h" #include "errors.h" #include "graphics.h" +#include "sludge.h" namespace Sludge { @@ -133,7 +134,7 @@ void setFatalInfo(const char *userFunc, const char *BIF) { if (fatalInfo) sprintf(fatalInfo, "Currently in this sub: %s\nCalling: %s", userFunc, BIF); - debug("%s", fatalInfo); + debug(kSludgeDebugFatal, "%s", fatalInfo); } void setResourceForFatal(int n) { |