Add debug log when sharepath is not used

This commit is contained in:
Kp 2018-12-30 00:43:58 +00:00
parent df0692bbea
commit 027cdaf568

View file

@ -220,6 +220,15 @@ bool PHYSFSX_init(int argc, char *argv[])
con_puts(CON_DEBUG, "PHYSFS: append sharepath directory \"" DXX_SHAREPATH "\" to search path");
PHYSFS_addToSearchPath(DXX_SHAREPATH, 1);
}
else
{
con_puts(CON_DEBUG, "PHYSFS: skipping built-in sharepath \"" DXX_SHAREPATH "\"");
}
#else
else
{
con_puts(CON_DEBUG, "PHYSFS: no built-in sharepath");
}
#endif
PHYSFSX_addRelToSearchPath("data", 1); // 'Data' subdirectory