diff options
-rw-r--r-- | graphics/smk_player.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/smk_player.cpp b/graphics/smk_player.cpp index dac51459d7..78de65f994 100644 --- a/graphics/smk_player.cpp +++ b/graphics/smk_player.cpp @@ -334,6 +334,13 @@ bool SMKPlayer::loadFile(const char *fileName) { _currentSMKFrame = 0; _header.signature = _fileStream->readUint32BE(); + // No BINK support available + if (_header.signature == MKID_BE('BIKi')) { + delete _fileStream; + _fileStream = 0; + return false; + } + assert(_header.signature == MKID_BE('SMK2') || _header.signature == MKID_BE('SMK4')); _header.width = _fileStream->readUint32LE(); |