mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
rsx: fix capture path if title id is empty
This commit is contained in:
parent
25badf9534
commit
d396a778b7
|
|
@ -3073,7 +3073,7 @@ namespace rsx
|
||||||
{
|
{
|
||||||
capture_current_frame = false;
|
capture_current_frame = false;
|
||||||
|
|
||||||
std::string file_path = fs::get_config_dir() + "captures/" + Emu.GetTitleID() + "_" + date_time::current_time_narrow() + "_capture.rrc.gz";
|
const std::string file_path = fs::get_config_dir() + "captures/" + (Emu.GetTitleID().empty() ? Emu.GetTitle() : Emu.GetTitleID()) + "_" + date_time::current_time_narrow() + "_capture.rrc.gz";
|
||||||
|
|
||||||
fs::pending_file temp(file_path);
|
fs::pending_file temp(file_path);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue