mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
GRAPHICS: fixed creating cursor group from some old executables
This commit is contained in:
parent
c053ad3636
commit
973e1e5667
@ -318,8 +318,7 @@ WinCursorGroup *WinCursorGroup::createCursorGroup(Common::PEResources &exe, cons
|
||||
|
||||
// Plane count
|
||||
if (stream->readUint16LE() != 1) {
|
||||
delete group;
|
||||
return 0;
|
||||
warning("PlaneCount is not 1.");
|
||||
}
|
||||
|
||||
stream->readUint16LE(); // bits per pixel
|
||||
|
Loading…
x
Reference in New Issue
Block a user