diff --git a/rpcs3/Emu/Cell/Modules/cellPhotoDecode.cpp b/rpcs3/Emu/Cell/Modules/cellPhotoDecode.cpp index d83939bcff..843a0adc24 100644 --- a/rpcs3/Emu/Cell/Modules/cellPhotoDecode.cpp +++ b/rpcs3/Emu/Cell/Modules/cellPhotoDecode.cpp @@ -144,9 +144,9 @@ error_code cellPhotoDecodeFromFile(vm::cptr srcHddDir, vm::cptr srcH const std::string vpath = fmt::format("%s/%s", srcHddDir.get_ptr(), srcHddFile.get_ptr()); const std::string path = vfs::get(vpath); - if (!vpath.starts_with("/dev_hdd0") && !vpath.starts_with("/dev_hdd1")) + if (!vpath.starts_with("/dev_hdd0") && !vpath.starts_with("/dev_hdd1") && !vpath.starts_with("/dev_bdvd")) { - cellPhotoDecode.error("Source '%s' is not inside dev_hdd0 or dev_hdd1", vpath); + cellPhotoDecode.error("Source '%s' is not inside dev_hdd0 or dev_hdd1 or dev_bdvd", vpath); return CELL_PHOTO_DECODE_ERROR_ACCESS_ERROR; // TODO: is this correct? }