mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-05 00:36:57 +00:00
COMMON: Fix logic error in macresman
This commit is contained in:
parent
5c8ac251d7
commit
9874d200c8
@ -314,7 +314,7 @@ SeekableReadStream * MacResManager::openFileOrDataFork(const Path &fileName) {
|
||||
}
|
||||
|
||||
SeekableReadStream * MacResManager::openDataForkFromMacBinary(SeekableReadStream *inStream, DisposeAfterUse::Flag disposeAfterUse) {
|
||||
if (!inStream && !isMacBinary(*inStream)) {
|
||||
if (!inStream || !isMacBinary(*inStream)) {
|
||||
return nullptr;
|
||||
}
|
||||
inStream->seek(MBI_DFLEN);
|
||||
|
Loading…
Reference in New Issue
Block a user