From 97168fa200e6e7a437b9e68e6ebc1438c520a4f5 Mon Sep 17 00:00:00 2001 From: Walter van Niftrik Date: Sun, 3 Apr 2016 13:45:31 +0200 Subject: ADL: Load line feeds string --- engines/adl/hires2.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/adl/hires2.cpp') diff --git a/engines/adl/hires2.cpp b/engines/adl/hires2.cpp index a1303b652c..5a4e0e5fd6 100644 --- a/engines/adl/hires2.cpp +++ b/engines/adl/hires2.cpp @@ -77,6 +77,10 @@ void HiRes2Engine::init() { stream.reset(_disk->createReadStream(0x19, 0x7, 0xd7)); _strings_v2.time = readString(*stream, 0xff); + // Read line feeds + stream.reset(_disk->createReadStream(0x19, 0xb, 0xf8, 1)); + _strings.lineFeeds = readString(*stream); + // Read opcode strings stream.reset(_disk->createReadStream(0x1a, 0x6, 0x00, 2)); _strings_v2.saveInsert = readStringAt(*stream, 0x5f); @@ -184,7 +188,9 @@ void HiRes2Engine::initState() { } void HiRes2Engine::restartGame() { + _display->printString(_strings.pressReturn); initState(); + _display->printAsciiString(_strings.lineFeeds); } Engine *HiRes2Engine_create(OSystem *syst, const AdlGameDescription *gd) { -- cgit v1.2.3