From 5f7955daa547fbc1c65280c753b90ffccb4b677c Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 14 Jun 2019 20:22:34 -0700 Subject: GLK: ADVSYS: Tweak debug line, added input line prompt character --- engines/glk/advsys/glk_interface.cpp | 1 + engines/glk/advsys/vm.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/glk/advsys') diff --git a/engines/glk/advsys/glk_interface.cpp b/engines/glk/advsys/glk_interface.cpp index be164f21cd..3ec2d336c8 100644 --- a/engines/glk/advsys/glk_interface.cpp +++ b/engines/glk/advsys/glk_interface.cpp @@ -43,6 +43,7 @@ Common::String GlkInterface::readLine() { event_t ev; char line[200]; + print(": "); glk_request_line_event(_window, line, 199, 0); do { diff --git a/engines/glk/advsys/vm.cpp b/engines/glk/advsys/vm.cpp index b1ba7a0ad5..95e1cecdb9 100644 --- a/engines/glk/advsys/vm.cpp +++ b/engines/glk/advsys/vm.cpp @@ -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) { -- cgit v1.2.3