GLK: ADVSYS: Tweak debug line, added input line prompt character

This commit is contained in:
Paul Gilbert 2019-06-14 20:22:34 -07:00
parent 75fe5b5024
commit 5f7955daa5
2 changed files with 2 additions and 1 deletions

View File

@ -43,6 +43,7 @@ Common::String GlkInterface::readLine() {
event_t ev;
char line[200];
print(": ");
glk_request_line_event(_window, line, 199, 0);
do {

View File

@ -109,7 +109,7 @@ void VM::executeOpcode() {
if (gDebugLevel > 0) {
Common::String s;
for (int idx = (int)_stack.size() - 1; idx >= 0; --idx) s += Common::String::format(" %d", _stack[idx]);
debug("%.4x - %.2x - %d%s", _pc - 1, opcode, _stack.size(), s.c_str());
debugC(kDebugScripts, "%.4x - %.2x - %d%s", _pc - 1, opcode, _stack.size(), s.c_str());
}
if (opcode >= OP_BRT && opcode <= OP_VOWEL) {