mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-29 03:00:24 +00:00
(iOS) Append the failed path to the 'Browsed path is not a directory' error message
This commit is contained in:
parent
1db8b2aac0
commit
7c2c94872a
@ -97,8 +97,9 @@ NSString* ra_ios_check_path(NSString* path)
|
||||
if (path && ra_ios_is_directory(path))
|
||||
return path;
|
||||
|
||||
// The error message can be ugly if it is a long message, but it should never be displayed during normal operation.
|
||||
if (path)
|
||||
[RetroArch_iOS displayErrorMessage:@"Browsed path is not a directory."];
|
||||
[RetroArch_iOS displayErrorMessage:[NSString stringWithFormat:@"Browsed path is not a directory: %@", path]];
|
||||
|
||||
return [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user