mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 19:30:41 +00:00
Fix bug #1209059 "GOB: Gobliiins English Floppy version crash"
svn-id: r18268
This commit is contained in:
parent
6e42068c8b
commit
b59ef3cd71
@ -436,6 +436,9 @@ char vid_spriteUncompressor(byte *sprBuf, int16 srcWidth, int16 srcHeight,
|
||||
int16 bufPos;
|
||||
int16 strLen;
|
||||
|
||||
if (!destDesc)
|
||||
return 1;
|
||||
|
||||
if ((destDesc->vidMode & 0x7f) != 0x13)
|
||||
error("vid_spriteUncompressor: Video mode 0x%x is not supported!",
|
||||
destDesc->vidMode & 0x7f);
|
||||
|
Loading…
Reference in New Issue
Block a user