ACCESS: Fix the loading of text in doEstablish

This commit is contained in:
Strangerke 2014-08-24 11:02:14 +02:00
parent ee62d6c1cf
commit 7b1d0064fe

View File

@ -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();