mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-17 23:44:22 +00:00
HDB: Add and modify debug output
This commit is contained in:
parent
d48404d087
commit
a1b1275764
@ -209,6 +209,7 @@ void AI::processCines() {
|
||||
break;
|
||||
}
|
||||
case C_DIALOG:
|
||||
debug("In processCines: C_DIALOG: _cine[i]->start: %d", _cine[i]->start);
|
||||
if (_cine[i]->start) {
|
||||
g_hdb->_window->openDialog(_cine[i]->title, -1, _cine[i]->string, 0, NULL);
|
||||
g_hdb->_window->setDialogDelay(_cine[i]->delay);
|
||||
@ -385,6 +386,7 @@ void AI::cineDialog(const char *title, const char *string, int seconds) {
|
||||
if (!title || !string)
|
||||
warning("cineDialog: Missing Title or Text");
|
||||
cmd->cmdType = C_DIALOG;
|
||||
debug("In cineDialog: C_DIALOG created. cmd->start: %d", cmd->start);
|
||||
_cine.push_back(cmd);
|
||||
}
|
||||
|
||||
|
@ -96,7 +96,7 @@ Common::SeekableReadStream *FileMan::findFirstData(const char *string, DataType
|
||||
Common::String fileString;
|
||||
MPCEntry *file = NULL;
|
||||
|
||||
debug(2, "Looking for Data: '%s'", string);
|
||||
debug(4, "Looking for Data: '%s'", string);
|
||||
|
||||
// Find MPC Entry
|
||||
for (MPCIterator it = _dir.begin(); it != _dir.end(); it++) {
|
||||
@ -106,13 +106,13 @@ Common::SeekableReadStream *FileMan::findFirstData(const char *string, DataType
|
||||
file = *it;
|
||||
break;
|
||||
} else {
|
||||
debug(2, "Found Data but type mismatch: '%s', target: %d, found: %d", string, type, (*it)->type);
|
||||
debug(4, "Found Data but type mismatch: '%s', target: %d, found: %d", string, type, (*it)->type);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (file == NULL) {
|
||||
debug(2, "Couldn't find Data: '%s'", string);
|
||||
debug(4, "Couldn't find Data: '%s'", string);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user