mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 20:34:12 +00:00
PINK: Warn when the timestamps mismatch
This commit is contained in:
parent
adb725c223
commit
093bee1889
@ -94,8 +94,16 @@ Common::Error PinkEngine::init() {
|
||||
orbName = "HPP.ORB";
|
||||
}
|
||||
|
||||
if (!_orb.open(orbName) || (_bro && !_bro->open(broName) && _orb.getTimestamp() == _bro->getTimestamp()))
|
||||
if (!_orb.open(orbName))
|
||||
return Common::kNoGameDataFoundError;
|
||||
if (_bro) {
|
||||
if (!_bro->open(broName))
|
||||
return Common::kNoGameDataFoundError;
|
||||
if (_orb.getTimestamp() != _bro->getTimestamp()) {
|
||||
warning("ORB and BRO timestamp mismatch. %lx != %lx", _orb.getTimestamp(), _bro->getTimestamp());
|
||||
return Common::kNoGameDataFoundError;
|
||||
}
|
||||
}
|
||||
|
||||
if (!loadCursors())
|
||||
return Common::kNoGameDataFoundError;
|
||||
|
Loading…
x
Reference in New Issue
Block a user