From d396a778b7224788e8b683d8276dc74c1ddfbca3 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sun, 30 Nov 2025 15:31:07 +0100 Subject: [PATCH] rsx: fix capture path if title id is empty --- rpcs3/Emu/RSX/RSXThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/RSXThread.cpp b/rpcs3/Emu/RSX/RSXThread.cpp index 403a9165a3..73c86907f1 100644 --- a/rpcs3/Emu/RSX/RSXThread.cpp +++ b/rpcs3/Emu/RSX/RSXThread.cpp @@ -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);