mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-21 18:39:57 +00:00
cellPhotoImport: allow dev_hdd1
This commit is contained in:
parent
934e7b614c
commit
4dec8d7925
@ -121,9 +121,9 @@ error_code select_photo(std::string dst_dir)
|
||||
return CELL_PHOTO_IMPORT_ERROR_PARAM;
|
||||
}
|
||||
|
||||
if (!dst_dir.starts_with("/dev_hdd0"))
|
||||
if (!dst_dir.starts_with("/dev_hdd0"sv) && !dst_dir.starts_with("/dev_hdd1"sv))
|
||||
{
|
||||
cellPhotoImportUtil.error("Destination '%s' is not inside dev_hdd0", dst_dir);
|
||||
cellPhotoImportUtil.error("Destination '%s' is not inside dev_hdd0 or dev_hdd1", dst_dir);
|
||||
return CELL_PHOTO_IMPORT_ERROR_ACCESS_ERROR; // TODO: is this correct?
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user