[Scummvm-git-logs] scummvm master -> 7534791feb50324bb5187c71143c3b8bad791a59

AndywinXp noreply at scummvm.org
Thu Jun 19 20:23:16 UTC 2025


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

Summary:
7534791feb LASTEXPRESS: Fix cursor hotspots reading in BE mode


Commit: 7534791feb50324bb5187c71143c3b8bad791a59
    https://github.com/scummvm/scummvm/commit/7534791feb50324bb5187c71143c3b8bad791a59
Author: AndywinXp (andywinxp at gmail.com)
Date: 2025-06-19T22:23:10+02:00

Commit Message:
LASTEXPRESS: Fix cursor hotspots reading in BE mode

Changed paths:
    engines/lastexpress/data/archive.cpp


diff --git a/engines/lastexpress/data/archive.cpp b/engines/lastexpress/data/archive.cpp
index 72eb89edc8e..6ab6c7715e6 100644
--- a/engines/lastexpress/data/archive.cpp
+++ b/engines/lastexpress/data/archive.cpp
@@ -551,8 +551,8 @@ void ArchiveManager::loadMice() {
 		}
 
 		for (int i = 0; i < 48; i++) {
-			_engine->getGraphicsManager()->_cursorsDataHeader->hotspotX = READ_LE_INT16(&_engine->getGraphicsManager()->_cursorsDataHeader->hotspotX);
-			_engine->getGraphicsManager()->_cursorsDataHeader->hotspotY = READ_LE_INT16(&_engine->getGraphicsManager()->_cursorsDataHeader->hotspotY);
+			_engine->getGraphicsManager()->_cursorsDataHeader[i].hotspotX = READ_LE_INT16(&_engine->getGraphicsManager()->_cursorsDataHeader[i].hotspotX);
+			_engine->getGraphicsManager()->_cursorsDataHeader[i].hotspotY = READ_LE_INT16(&_engine->getGraphicsManager()->_cursorsDataHeader[i].hotspotY);
 		}
 
 		_engine->getGraphicsManager()->modifyPalette(_engine->getGraphicsManager()->_iconsBitmapData, 0xC000);




More information about the Scummvm-git-logs mailing list