Skip to content
Permalink
Browse files

DIRECTOR: LINGO: Implement reliable stub fot c_tellcode()

  • Loading branch information
sev- committed Jan 13, 2020
1 parent b29d682 commit 57d73250668f3bc1c15b4a3b3343321398f8478d
Showing with 7 additions and 1 deletion.
  1. +7 −1 engines/director/lingo/lingo-code.cpp
@@ -1079,7 +1079,13 @@ void LC::c_whencode() {
}

void LC::c_tellcode() {
warning("STUB: c_tellcode");
Datum d1 = g_lingo->pop(); // reference
uint start = g_lingo->_pc;
uint end = g_lingo->readInt() + start - 1;

warning("STUB: c_tellcode(%s)", d1.toString()->c_str());

g_lingo->_pc = end;
}

void LC::c_tell() {

0 comments on commit 57d7325

Please sign in to comment.
You can’t perform that action at this time.