mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 18:58:36 +12:00
cellPhotoImport: allow dev_hdd1
This commit is contained in:
parent
934e7b614c
commit
4dec8d7925
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue