mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
Qt: fix screenshot path creation
This commit is contained in:
parent
6f9adbd162
commit
56fe450959
1 changed files with 1 additions and 1 deletions
|
@ -523,7 +523,7 @@ void gs_frame::take_screenshot(std::vector<u8> data, const u32 sshot_width, cons
|
|||
screen_path += id + "/";
|
||||
};
|
||||
|
||||
if (!fs::create_dir(screen_path) && fs::g_tls_error != fs::error::exist)
|
||||
if (!fs::create_path(screen_path) && fs::g_tls_error != fs::error::exist)
|
||||
{
|
||||
screenshot_log.error("Failed to create screenshot path \"%s\" : %s", screen_path, fs::g_tls_error);
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue