From a846e15329fca2335b9e47c8b1eb4cde00c391e2 Mon Sep 17 00:00:00 2001 From: digant Date: Thu, 19 Dec 2024 21:22:50 +0100 Subject: [PATCH] update --- rpcs3/Emu/Cell/Modules/cellPhotoDecode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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? }