mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-05 02:17:05 +00:00
DIRECTOR: Handle 0 byte Fmap in Cast::loadFontMapV4
This commit is contained in:
parent
b70aaf15e5
commit
b7ac932ec8
@ -66,6 +66,9 @@ void Cast::loadFontMap(Common::SeekableReadStreamEndian &stream) {
|
||||
}
|
||||
|
||||
void Cast::loadFontMapV4(Common::SeekableReadStreamEndian &stream) {
|
||||
if (stream.size() == 0)
|
||||
return;
|
||||
|
||||
debugC(2, kDebugLoading, "****** Loading FontMap Fmap");
|
||||
|
||||
uint32 mapLength = stream.readUint32();
|
||||
|
Loading…
x
Reference in New Issue
Block a user