mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-11 03:34:13 +00:00
Reenable incorrectly compressed files warning
svn-id: r24290
This commit is contained in:
parent
1564b76e1e
commit
053bbaf9bb
@ -84,10 +84,14 @@ bool BaseChunk::seek(int32 delta, seek_type dir) {
|
||||
}
|
||||
|
||||
if (_curPos > _size) {
|
||||
// FIXME: This is an evil hack, can't we do better?!
|
||||
// if (g_scumm->_insaneRunning) {
|
||||
// warning("Looks like you compressed file %s in wrong way. It has FLU index which was not updated", _name.c_str());
|
||||
// }
|
||||
// It may happen that user misused our SAN compression tool
|
||||
// and ignored FLU index for videos which are used by INSANE.
|
||||
// This will lead to incorrect seek requests
|
||||
//
|
||||
// Check if INSANE is running and give more feedback in this case
|
||||
if (g_scumm->_insaneRunning) {
|
||||
warning("Looks like you compressed file %s in wrong way. It has FLU index which was not updated", _name.c_str());
|
||||
}
|
||||
error("invalid seek request : %d > %d (delta == %d)", _curPos, _size, delta);
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user