mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-01 22:30:02 +01:00
cellScreenshot: escape photo_title in path
This commit is contained in:
parent
9810d24ebb
commit
d85b9d0cd1
|
|
@ -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 a new issue