[Scummvm-git-logs] scummvm master -> 27f5d32ace6e9f788f24cd79e804fc2956f4b989
sev-
noreply at scummvm.org
Sun Jun 12 12:07:02 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:
27f5d32ace GRAPHICS: Remove false positive warning from Win cursor group parser
Commit: 27f5d32ace6e9f788f24cd79e804fc2956f4b989
https://github.com/scummvm/scummvm/commit/27f5d32ace6e9f788f24cd79e804fc2956f4b989
Author: elasota (ejlasota at gmail.com)
Date: 2022-06-12T14:06:59+02:00
Commit Message:
GRAPHICS: Remove false positive warning from Win cursor group parser
Changed paths:
graphics/wincursor.cpp
diff --git a/graphics/wincursor.cpp b/graphics/wincursor.cpp
index cee0745b022..677ecf2a650 100644
--- a/graphics/wincursor.cpp
+++ b/graphics/wincursor.cpp
@@ -263,13 +263,8 @@ WinCursorGroup *WinCursorGroup::createCursorGroup(Common::WinResources *exe, con
for (uint32 i = 0; i < cursorCount; i++) {
stream->readUint16LE(); // width
stream->readUint16LE(); // height
-
- // Plane count
- if (stream->readUint16LE() != 1) {
- warning("PlaneCount is not 1.");
- }
-
- stream->readUint16LE(); // bits per pixel
+ stream->readUint16LE(); // x hotspot
+ stream->readUint16LE(); // y hotspot
stream->readUint32LE(); // data size
uint32 cursorId = stream->readUint16LE();
More information about the Scummvm-git-logs
mailing list