mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-30 14:14:43 +00:00
Fixed loading of static items.
svn-id: r33375
This commit is contained in:
parent
b67db7baf5
commit
a5d225d438
@ -193,6 +193,7 @@ GfxObj* DosDisk_br::loadHead(const char* name) {
|
|||||||
void DosDisk_br::loadBitmap(Common::SeekableReadStream &stream, Graphics::Surface &surf, byte *palette) {
|
void DosDisk_br::loadBitmap(Common::SeekableReadStream &stream, Graphics::Surface &surf, byte *palette) {
|
||||||
stream.skip(4);
|
stream.skip(4);
|
||||||
uint width = stream.readUint32BE();
|
uint width = stream.readUint32BE();
|
||||||
|
if (width & 1) width++;
|
||||||
uint height = stream.readUint32BE();
|
uint height = stream.readUint32BE();
|
||||||
stream.skip(20);
|
stream.skip(20);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user