From 1fd83bf7a2e0783683e73012c002b6e3ea978981 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 8 Aug 2019 01:09:31 +0200 Subject: HDB: Initialise skipped variables in PPC mode --- engines/hdb/gfx.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'engines') diff --git a/engines/hdb/gfx.cpp b/engines/hdb/gfx.cpp index 8805da01d7..f1b101286c 100644 --- a/engines/hdb/gfx.cpp +++ b/engines/hdb/gfx.cpp @@ -176,6 +176,16 @@ bool Gfx::init() { _starField[2] = getPicture(PIC_STAR192); _starField[3] = getPicture(PIC_STAR256); _snowflake = getPicture(PIC_SNOWFLAKE); + } else { + for (int i = 0; i < 7; i++) + _mousePointer[i] = NULL; + + for (int i = 0; i < 4; i++) + _starField[i] = NULL; + + _snowflake = NULL; + + _showCursor = false; } _systemInit = true; -- cgit v1.2.3