Navigation Menu

Skip to content

Commit

Permalink
Warn on apparently buggy PhysFS version 2.0.2.
Browse files Browse the repository at this point in the history
Refs ticket:3700.
  • Loading branch information
Cyp committed Aug 30, 2012
1 parent 5b3163b commit 408be74
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main.cpp
Expand Up @@ -561,6 +561,11 @@ static void check_Physfs(void)
debug(LOG_FATAL, "At least version 2 of PhysicsFS required!"); debug(LOG_FATAL, "At least version 2 of PhysicsFS required!");
exit(-1); exit(-1);
} }
if (linked.major == 2 && linked.minor == 0 && linked.patch == 2)
{
debug(LOG_ERROR, "You have PhysicsFS 2.0.2, which is buggy. You may experience random errors/crashes due to spuriously missing files.");
debug(LOG_ERROR, "Please upgrade/downgrade PhysicsFS to a different version, such as 2.0.3 or 2.0.1.");
}


for (i = PHYSFS_supportedArchiveTypes(); *i != NULL; i++) for (i = PHYSFS_supportedArchiveTypes(); *i != NULL; i++)
{ {
Expand Down

0 comments on commit 408be74

Please sign in to comment.