SCI: Add missing newlines to console output

This commit is contained in:
sluicebox 2020-12-20 12:08:52 -08:00
parent 2c7d2f135b
commit b205bc0e8a

View file

@ -516,7 +516,7 @@ bool Console::cmdOpcodes(int argc, const char **argv) {
// If the resource couldn't be loaded, leave // If the resource couldn't be loaded, leave
if (!r) { if (!r) {
debugPrintf("unable to load vocab.998"); debugPrintf("unable to load vocab.998\n");
return true; return true;
} }
@ -2682,7 +2682,7 @@ bool Console::cmdToggleSound(int argc, const char **argv) {
} else if (newState == "stop") } else if (newState == "stop")
g_sci->_soundCmd->processStopSound(id, false); g_sci->_soundCmd->processStopSound(id, false);
else else
debugPrintf("New state can either be 'play' or 'stop'"); debugPrintf("New state can either be 'play' or 'stop'\n");
return true; return true;
} }
@ -2961,7 +2961,7 @@ bool Console::cmdStack(int argc, const char **argv) {
} }
if (_engine->_gamestate->_executionStack.empty()) { if (_engine->_gamestate->_executionStack.empty()) {
debugPrintf("No exec stack!"); debugPrintf("No exec stack!\n");
return true; return true;
} }
@ -3000,19 +3000,19 @@ bool Console::cmdValueType(int argc, const char **argv) {
switch (t) { switch (t) {
case SIG_TYPE_LIST: case SIG_TYPE_LIST:
debugPrintf("List"); debugPrintf("List\n");
break; break;
case SIG_TYPE_OBJECT: case SIG_TYPE_OBJECT:
debugPrintf("Object"); debugPrintf("Object\n");
break; break;
case SIG_TYPE_REFERENCE: case SIG_TYPE_REFERENCE:
debugPrintf("Reference"); debugPrintf("Reference\n");
break; break;
case SIG_TYPE_INTEGER: case SIG_TYPE_INTEGER:
debugPrintf("Integer"); debugPrintf("Integer\n");
break; break;
case SIG_TYPE_INTEGER | SIG_TYPE_NULL: case SIG_TYPE_INTEGER | SIG_TYPE_NULL:
debugPrintf("Null"); debugPrintf("Null\n");
break; break;
default: default:
debugPrintf("Erroneous unknown type 0x%02x (%d decimal)\n", t, t); debugPrintf("Erroneous unknown type 0x%02x (%d decimal)\n", t, t);