mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01: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:
parent
ff3cba9cee
commit
798bf9e490
1 changed files with 5 additions and 1 deletions
|
@ -231,7 +231,11 @@ static bool FILESYSTEM_mountAssetsFrom(const char *fname)
|
|||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue