diff --git a/rpcs3/Emu/Cell/Modules/cellScreenshot.cpp b/rpcs3/Emu/Cell/Modules/cellScreenshot.cpp index 5d8e2f2a18..baf9ee380d 100644 --- a/rpcs3/Emu/Cell/Modules/cellScreenshot.cpp +++ b/rpcs3/Emu/Cell/Modules/cellScreenshot.cpp @@ -50,7 +50,7 @@ std::string screenshot_info::get_screenshot_path(s32 year, s32 month, s32 day, s { u32 counter = 0; const std::string path = vfs::get(fmt::format("/dev_hdd0/photo/%04d/%02d/%02d/%s %02d-%02d-%04d %02d-%02d-%02d", - year, month, day, get_photo_title(), day, month, year, hour, minute, second)); + year, month, day, vfs::escape(get_photo_title(), true), day, month, year, hour, minute, second)); constexpr std::string_view extension = ".png"; std::string suffix = std::string(extension);