From b9badf61bfca47fdfe45495a199c72c3fba08039 Mon Sep 17 00:00:00 2001 From: Walter van Niftrik Date: Mon, 8 Aug 2016 19:29:02 +0200 Subject: ADL: Fix gfx vs console init order --- engines/adl/adl.cpp | 2 ++ engines/adl/display.cpp | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/adl') diff --git a/engines/adl/adl.cpp b/engines/adl/adl.cpp index b6af54962e..83181c9847 100644 --- a/engines/adl/adl.cpp +++ b/engines/adl/adl.cpp @@ -520,6 +520,8 @@ void AdlEngine::dropItem(byte noun) { } Common::Error AdlEngine::run() { + initGraphics(DISPLAY_WIDTH * 2, DISPLAY_HEIGHT * 2, true); + _console = new Console(this); _speaker = new Speaker(); _display = new Display(); diff --git a/engines/adl/display.cpp b/engines/adl/display.cpp index b7f6eb9923..858d3ac20b 100644 --- a/engines/adl/display.cpp +++ b/engines/adl/display.cpp @@ -109,8 +109,6 @@ Display::Display() : _cursorPos(0), _showCursor(false) { - initGraphics(DISPLAY_WIDTH * 2, DISPLAY_HEIGHT * 2, true); - _monochrome = !ConfMan.getBool("color"); _scanlines = ConfMan.getBool("scanlines"); -- cgit v1.2.3