diff options
author | Walter van Niftrik | 2016-08-08 19:29:02 +0200 |
---|---|---|
committer | Walter van Niftrik | 2016-08-08 19:29:02 +0200 |
commit | b9badf61bfca47fdfe45495a199c72c3fba08039 (patch) | |
tree | 62690f18f3914753e6471fe16abf77d25d672246 /engines/adl | |
parent | 3bece5f4788779b2c0af3a2bb422e05a183b6d6b (diff) | |
download | scummvm-rg350-b9badf61bfca47fdfe45495a199c72c3fba08039.tar.gz scummvm-rg350-b9badf61bfca47fdfe45495a199c72c3fba08039.tar.bz2 scummvm-rg350-b9badf61bfca47fdfe45495a199c72c3fba08039.zip |
ADL: Fix gfx vs console init order
Diffstat (limited to 'engines/adl')
-rw-r--r-- | engines/adl/adl.cpp | 2 | ||||
-rw-r--r-- | engines/adl/display.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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"); |