aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2014-08-24 11:02:14 +0200
committerStrangerke2014-08-24 11:02:14 +0200
commit7b1d0064fe3718142af2d764699d705cd2258669 (patch)
treed31fa80e125c4ac9a146ff6edd53e2f9dc00fd5f /engines
parentee62d6c1cfce009331050fb9bf8bfecbb8f51472 (diff)
downloadscummvm-rg350-7b1d0064fe3718142af2d764699d705cd2258669.tar.gz
scummvm-rg350-7b1d0064fe3718142af2d764699d705cd2258669.tar.bz2
scummvm-rg350-7b1d0064fe3718142af2d764699d705cd2258669.zip
ACCESS: Fix the loading of text in doEstablish
Diffstat (limited to 'engines')
-rw-r--r--engines/access/access.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/access/access.cpp b/engines/access/access.cpp
index e90e5bad22..0db3376697 100644
--- a/engines/access/access.cpp
+++ b/engines/access/access.cpp
@@ -289,11 +289,16 @@ void AccessEngine::doEstablish(int esatabIndex, int sub) {
loadEstablish(sub);
_et = sub;
warning("CHECKME: Use of di");
+ Common::String msg;
+ int idx = READ_LE_UINT16(_eseg + (sub * 2) + 2);
+ for (int i = idx; _eseg[i] != 0; ++i)
+ msg += _eseg[i];
+
_printEnd = 155;
if (_txtPages == 0)
- warning("TODO: printText();");
+ warning("TODO: printText(%s)", msg.c_str());
else
- warning("TODO: speakText();");
+ warning("TODO: speakText(%s)", msg.c_str());
_screen->forceFadeOut();
_screen->clearScreen();