diff options
author | Paul Gilbert | 2019-06-14 20:22:34 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-06-14 20:22:34 -0700 |
commit | 5f7955daa547fbc1c65280c753b90ffccb4b677c (patch) | |
tree | dcc1a7d9ef2945067528e63bf88afa8c40653d1b /engines/glk | |
parent | 75fe5b5024d8532b0f84fa220391b58806d23ba8 (diff) | |
download | scummvm-rg350-5f7955daa547fbc1c65280c753b90ffccb4b677c.tar.gz scummvm-rg350-5f7955daa547fbc1c65280c753b90ffccb4b677c.tar.bz2 scummvm-rg350-5f7955daa547fbc1c65280c753b90ffccb4b677c.zip |
GLK: ADVSYS: Tweak debug line, added input line prompt character
Diffstat (limited to 'engines/glk')
-rw-r--r-- | engines/glk/advsys/glk_interface.cpp | 1 | ||||
-rw-r--r-- | engines/glk/advsys/vm.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
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) { |