mirror of
https://github.com/scummvm/scummvm.git
synced 2026-11-18 21:34:48 +00:00
DIRECTOR: Improved debug output
This commit is contained in:
1 parent
409f0b50d7
commit
cd45caa1e0
1 file changed
+3
-1
@@ -55,7 +55,7 @@ void CachedMacText::makeMacText() {
|
||||
1);
|
||||
// TODO destroy me
|
||||
|
||||
debug(5, "CachedMacText::makeMacText(): rendering '%s'", Common::toPrintable(_textCast->_ftext).c_str());
|
||||
debug(5, "CachedMacText::makeMacText(): font id: %d '%s'", _textCast->_fontId, Common::toPrintable(_textCast->_ftext).c_str());
|
||||
}
|
||||
|
||||
CachedMacText::CachedMacText(TextCast *const textCast,
|
||||
@@ -67,6 +67,8 @@ CachedMacText::CachedMacText(TextCast *const textCast,
|
||||
_surface(NULL), _macText(NULL), _width(defaultWidth), _dirty(true),
|
||||
_textCast(textCast), _wm(wm) {
|
||||
|
||||
debug(5, "CachedMacText::CachedMacText(): font id: %d '%s'", _textCast->_fontId, Common::toPrintable(_textCast->_ftext).c_str());
|
||||
|
||||
if (_width == -1) {
|
||||
if (version >= 4) {
|
||||
// This came from frame.cpp
|
||||
|
||||
Reference in new issue
Block a user