aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/cursor.cpp4
-rw-r--r--engines/agos/draw.cpp3
2 files changed, 4 insertions, 3 deletions
diff --git a/engines/agos/cursor.cpp b/engines/agos/cursor.cpp
index 1b84c024a0..3d4c6768a4 100644
--- a/engines/agos/cursor.cpp
+++ b/engines/agos/cursor.cpp
@@ -272,7 +272,7 @@ static const byte _mouseOffs[29 * 32] = {
void AGOSEngine::handleMouseMoved() {
uint x;
- if (_mouseHideCount) {
+ if (getGameId() != GID_DIMP && _mouseHideCount) {
CursorMan.showMouse(false);
return;
}
@@ -414,7 +414,7 @@ void AGOSEngine::loadMouseImage() {
}
void AGOSEngine::drawMousePointer() {
- if (getGameType() == GType_PP) {
+ if (getGameType() == GType_PP && getGameId() != GID_DIMP) {
CursorMan.replaceCursor(_mouseData, _maxCursorWidth, _maxCursorHeight, 37, 48, 0);
} else if (getGameType() == GType_SIMON2) {
CursorMan.replaceCursor(_simon2_cursors[_mouseCursor], 16, 16, 7, 7);
diff --git a/engines/agos/draw.cpp b/engines/agos/draw.cpp
index 87255334ce..b5af30fc15 100644
--- a/engines/agos/draw.cpp
+++ b/engines/agos/draw.cpp
@@ -452,7 +452,8 @@ void AGOSEngine::dx_update_screen_and_palette() {
_system->copyRectToScreen(_backBuf, _screenWidth, 0, 0, _screenWidth, _screenHeight);
_system->updateScreen();
- memcpy(_backBuf, _frontBuf, _screenWidth * _screenHeight);
+ if (getGameId() != GID_DIMP)
+ memcpy(_backBuf, _frontBuf, _screenWidth * _screenHeight);
if (getGameType() == GType_FF && _scrollFlag) {
scrollScreen();