From 4dec8d79253c58af67c3eb11816d8e22981a5cd2 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Tue, 2 Aug 2022 01:01:53 +0200 Subject: [PATCH] cellPhotoImport: allow dev_hdd1 --- rpcs3/Emu/Cell/Modules/cellPhotoImport.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/cellPhotoImport.cpp b/rpcs3/Emu/Cell/Modules/cellPhotoImport.cpp index cdbaa2689a..a58c8df0b7 100644 --- a/rpcs3/Emu/Cell/Modules/cellPhotoImport.cpp +++ b/rpcs3/Emu/Cell/Modules/cellPhotoImport.cpp @@ -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? }