From d56c85fe015e51740fc06919d2e6560bb4935aa2 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sat, 27 Oct 2018 12:06:50 +0200 Subject: [PATCH] RSX/Capture: fix filePath and remove strict mode check (#5283) - Fixes regression introduced by kd-11 when merging in jarves' flip rework. --- rpcs3/Emu/RSX/RSXThread.cpp | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/rpcs3/Emu/RSX/RSXThread.cpp b/rpcs3/Emu/RSX/RSXThread.cpp index f9ca131ab3..d91defe8cd 100644 --- a/rpcs3/Emu/RSX/RSXThread.cpp +++ b/rpcs3/Emu/RSX/RSXThread.cpp @@ -2847,13 +2847,7 @@ namespace rsx void thread::handle_emu_flip(u32 buffer) { - if (user_asked_for_frame_capture && !g_cfg.video.strict_rendering_mode) - { - // not dealing with non-strict rendering capture for now - user_asked_for_frame_capture = false; - LOG_FATAL(RSX, "RSX Capture: Capture only supported when ran with strict rendering mode."); - } - else if (user_asked_for_frame_capture && !capture_current_frame) + if (user_asked_for_frame_capture && !capture_current_frame) { capture_current_frame = true; user_asked_for_frame_capture = false; @@ -2874,10 +2868,10 @@ namespace rsx capture_current_frame = false; std::stringstream os; cereal::BinaryOutputArchive archive(os); - const std::string& filePath = fs::get_config_dir() + "capture.rrc"; + const std::string& filePath = fs::get_config_dir() + "captures/" + Emu.GetTitleID() + "_" + date_time::current_time_narrow() + "_capture.rrc"; archive(frame_capture); { - // todo: 'dynamicly' create capture filename, also may want to compress this data? + // todo: may want to compress this data? fs::file f(filePath, fs::rewrite); f.write(os.str()); }