[Scummvm-git-logs] scummvm master -> 87676d1365464ba28e26ea33f9cac3205ee65eba

AndywinXp noreply at scummvm.org
Tue Oct 4 19:32:28 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
87676d1365 SCUMM: Limit screen update on cursor change to v7-8


Commit: 87676d1365464ba28e26ea33f9cac3205ee65eba
    https://github.com/scummvm/scummvm/commit/87676d1365464ba28e26ea33f9cac3205ee65eba
Author: AndywinXp (andywinxp at gmail.com)
Date: 2022-10-04T21:31:59+02:00

Commit Message:
SCUMM: Limit screen update on cursor change to v7-8

Changed paths:
    engines/scumm/cursor.cpp


diff --git a/engines/scumm/cursor.cpp b/engines/scumm/cursor.cpp
index 175e7599e7a..8dbe49783df 100644
--- a/engines/scumm/cursor.cpp
+++ b/engines/scumm/cursor.cpp
@@ -521,7 +521,8 @@ void ScummEngine_v6::setCursorFromImg(uint img, uint room, uint imgindex) {
 	// be able to see some of those updates (i.e. the loading cursors in
 	// The Dig and The Curse of Monkey Island). This forced screen update
 	// addresses that.
-	_system->updateScreen();
+	if (_game.version > 6)
+		_system->updateScreen();
 }
 
 void ScummEngine_v6::useIm01Cursor(const byte *im, int w, int h) {




More information about the Scummvm-git-logs mailing list