aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2019-08-08 01:09:31 +0200
committerEugene Sandulenko2019-09-03 17:17:32 +0200
commit1fd83bf7a2e0783683e73012c002b6e3ea978981 (patch)
treec19c558416d8abffafdc1fd053f729185f8419e3
parentb89f14360b2d4aadaf153624c0e2eca53140773d (diff)
downloadscummvm-rg350-1fd83bf7a2e0783683e73012c002b6e3ea978981.tar.gz
scummvm-rg350-1fd83bf7a2e0783683e73012c002b6e3ea978981.tar.bz2
scummvm-rg350-1fd83bf7a2e0783683e73012c002b6e3ea978981.zip
HDB: Initialise skipped variables in PPC mode
-rw-r--r--engines/hdb/gfx.cpp10
1 files changed, 10 insertions, 0 deletions
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;