aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-08-05 11:46:21 +0530
committerEugene Sandulenko2019-09-03 17:17:31 +0200
commit43ad1af61e2c2840379234fadaf32e27d83ffba8 (patch)
tree7c692b54dc7e00c9c7bf9bf6d21b8f4a4b9193d7
parent08d486981c4146e816cfecb3c74bed59a21c8f38 (diff)
downloadscummvm-rg350-43ad1af61e2c2840379234fadaf32e27d83ffba8.tar.gz
scummvm-rg350-43ad1af61e2c2840379234fadaf32e27d83ffba8.tar.bz2
scummvm-rg350-43ad1af61e2c2840379234fadaf32e27d83ffba8.zip
HDB: Draw Pointer only for Windows version
Temporarily until pointer is not adapted to PPC
-rw-r--r--engines/hdb/gfx.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/hdb/gfx.cpp b/engines/hdb/gfx.cpp
index 55c69f469d..2a8a98aebe 100644
--- a/engines/hdb/gfx.cpp
+++ b/engines/hdb/gfx.cpp
@@ -278,8 +278,12 @@ void Gfx::drawPointer() {
return;
// If we are in game and the cursor should be displayed, draw it
- if (_showCursor || g_hdb->getGameState() != GAME_PLAY)
- _mousePointer[anim]->drawMasked(g_hdb->_input->getMouseX() - 16, g_hdb->_input->getMouseY() - 16);
+ if (g_hdb->isPPC()) {
+ debug(9, "STUB: Draw Pointer in PPC");
+ } else {
+ if (_showCursor || g_hdb->getGameState() != GAME_PLAY)
+ _mousePointer[anim]->drawMasked(g_hdb->_input->getMouseX() - 16, g_hdb->_input->getMouseY() - 16);
+ }
}
void Gfx::setPointerState(int value) {