aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-07-31 08:36:55 +0530
committerEugene Sandulenko2019-09-03 17:17:30 +0200
commit6e357d9d9749f399c5c1a347d4e8d6f7881ce081 (patch)
tree33923f0c4ee469cf928c2c278340cef3d6e4c5c3
parentc1d2468f075698fddd9cb0f825d6ee1e0752b3bd (diff)
downloadscummvm-rg350-6e357d9d9749f399c5c1a347d4e8d6f7881ce081.tar.gz
scummvm-rg350-6e357d9d9749f399c5c1a347d4e8d6f7881ce081.tar.bz2
scummvm-rg350-6e357d9d9749f399c5c1a347d4e8d6f7881ce081.zip
HDB: Minor PPC fixes
-rw-r--r--engines/hdb/gfx.cpp7
-rw-r--r--engines/hdb/menu.cpp3
2 files changed, 3 insertions, 7 deletions
diff --git a/engines/hdb/gfx.cpp b/engines/hdb/gfx.cpp
index b41394b63b..6c743ea55e 100644
--- a/engines/hdb/gfx.cpp
+++ b/engines/hdb/gfx.cpp
@@ -257,10 +257,6 @@ void Gfx::updateVideo() {
}
void Gfx::drawPointer() {
-
- if (g_hdb->isPPC())
- return;
-
static int anim = 0;
static uint32 animTime = 0;
@@ -279,8 +275,7 @@ void Gfx::drawPointer() {
}
void Gfx::setPointerState(int value) {
- if (!g_hdb->isPPC())
- _pointerDisplayable = value;
+ _pointerDisplayable = value;
}
void Gfx::setFade(bool fadeIn, bool black, int steps) {
diff --git a/engines/hdb/menu.cpp b/engines/hdb/menu.cpp
index 5f8297f0d4..8516d0c54d 100644
--- a/engines/hdb/menu.cpp
+++ b/engines/hdb/menu.cpp
@@ -151,7 +151,8 @@ bool Menu::init() {
if (g_hdb->isPPC()) {
if (g_hdb->isDemo()) {
warning("STUB: Load DEMOTITLESCREEN");
- warning("STUB: Load PIC_HANDANGO");
+ if (g_hdb->isHandango())
+ warning("STUB: Load PIC_HANDANGO");
}
else
_hdbLogoScreen = g_hdb->_gfx->loadPic(TITLESCREEN);