diff --git a/rpcs3/Emu/RSX/rsx_methods.cpp b/rpcs3/Emu/RSX/rsx_methods.cpp index b4d514e00d..4e89d1ccc4 100644 --- a/rpcs3/Emu/RSX/rsx_methods.cpp +++ b/rpcs3/Emu/RSX/rsx_methods.cpp @@ -1107,7 +1107,7 @@ namespace rsx rsx->capture_current_frame = false; std::stringstream os; cereal::BinaryOutputArchive archive(os); - const std::string& filePath = fs::get_config_dir() + Emu.GetTitleID() + "_" + get_current_date_time() +"_capture.rrc"; + const std::string& filePath = fs::get_config_dir() + "captures/" + Emu.GetTitleID() + "_" + get_current_date_time() +"_capture.rrc"; archive(frame_capture); { // todo: 'dynamicly' create capture filename, also may want to compress this data? diff --git a/rpcs3/Emu/System.cpp b/rpcs3/Emu/System.cpp index 76aa2327b4..dd38ce7087 100644 --- a/rpcs3/Emu/System.cpp +++ b/rpcs3/Emu/System.cpp @@ -302,6 +302,7 @@ void Emulator::Init() fs::create_dir(dev_hdd1 + "game/"); fs::create_path(fs::get_config_dir() + "shaderlog/"); + fs::create_path(fs::get_config_dir() + "captures/"); #ifdef WITH_GDB_DEBUGGER LOG_SUCCESS(GENERAL, "GDB debug server will be started and listening on %d upon emulator boot", (int) g_cfg.misc.gdb_server_port); diff --git a/rpcs3/rpcs3qt/main_window.cpp b/rpcs3/rpcs3qt/main_window.cpp index b9d08c4868..4d5eb71476 100644 --- a/rpcs3/rpcs3qt/main_window.cpp +++ b/rpcs3/rpcs3qt/main_window.cpp @@ -364,7 +364,7 @@ void main_window::BootRsxCapture(std::string path) is_stopped = true; } - QString filePath = QFileDialog::getOpenFileName(this, tr("Select RSX Capture"), "", tr("RRC files (*.rrc);;All files (*.*)")); + QString filePath = QFileDialog::getOpenFileName(this, tr("Select RSX Capture"), qstr(fs::get_config_dir() + "captures/"), tr("RRC files (*.rrc);;All files (*.*)")); if (filePath.isEmpty()) {