mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Add filename to mountAssetsFrom() error message
This will clarify which directory, exactly, failed to mount. I know it gets printed earlier in the mounting process, but it can't hurt to print it twice, just to be sure. Also this is for consistency.
This commit is contained in:
@@ -231,7 +231,11 @@ static bool FILESYSTEM_mountAssetsFrom(const char *fname)
|
|||||||
|
|
||||||
if (!PHYSFS_mount(path, NULL, 0))
|
if (!PHYSFS_mount(path, NULL, 0))
|
||||||
{
|
{
|
||||||
printf("Error mounting: %s\n", PHYSFS_getErrorByCode(PHYSFS_getLastErrorCode()));
|
printf(
|
||||||
|
"Error mounting %s: %s\n",
|
||||||
|
fname,
|
||||||
|
PHYSFS_getErrorByCode(PHYSFS_getLastErrorCode())
|
||||||
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user