mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-21 01:08:25 +00:00
ACCESS: Fix the loading of text in doEstablish
This commit is contained in:
parent
ee62d6c1cf
commit
7b1d0064fe
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user