mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-16 04:09:07 +00:00
cellScreenshot: escape photo_title in path
This commit is contained in:
parent
e4b3f45d76
commit
67b61e8fef
@ -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);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user