mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 19:28:43 +12: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 + "/";
|
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);
|
screenshot_log.error("Failed to create screenshot path \"%s\" : %s", screen_path, fs::g_tls_error);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue