rsx: fix capture path if title id is empty

This commit is contained in:
Megamouse 2025-11-30 15:31:07 +01:00
parent 25badf9534
commit d396a778b7

View file

@ -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);