Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Warn on apparently buggy PhysFS version 2.0.2.

Refs ticket:3700.
  • Loading branch information...
commit 408be743f017cce1519cd955767abf0e697ab7f7 1 parent 5b3163b
@Cyp Cyp authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/main.cpp
View
5 src/main.cpp
@@ -561,6 +561,11 @@ static void check_Physfs(void)
debug(LOG_FATAL, "At least version 2 of PhysicsFS required!");
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++)
{
Please sign in to comment.
Something went wrong with that request. Please try again.