From 67b61e8feff3024036f2b823c212bc7bcc0b3db9 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sun, 7 Dec 2025 10:36:55 +0100 Subject: [PATCH] cellScreenshot: escape photo_title in path --- rpcs3/Emu/Cell/Modules/cellScreenshot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);