mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-16 04:09:07 +00: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;
|
||||
|
||||
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);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user