mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
RSX/Qt: Move rrc captures to captures dir
This commit is contained in:
parent
bb8fa28521
commit
67aff85e8e
3 changed files with 3 additions and 2 deletions
|
@ -1107,7 +1107,7 @@ namespace rsx
|
||||||
rsx->capture_current_frame = false;
|
rsx->capture_current_frame = false;
|
||||||
std::stringstream os;
|
std::stringstream os;
|
||||||
cereal::BinaryOutputArchive archive(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);
|
archive(frame_capture);
|
||||||
{
|
{
|
||||||
// todo: 'dynamicly' create capture filename, also may want to compress this data?
|
// todo: 'dynamicly' create capture filename, also may want to compress this data?
|
||||||
|
|
|
@ -302,6 +302,7 @@ void Emulator::Init()
|
||||||
fs::create_dir(dev_hdd1 + "game/");
|
fs::create_dir(dev_hdd1 + "game/");
|
||||||
|
|
||||||
fs::create_path(fs::get_config_dir() + "shaderlog/");
|
fs::create_path(fs::get_config_dir() + "shaderlog/");
|
||||||
|
fs::create_path(fs::get_config_dir() + "captures/");
|
||||||
|
|
||||||
#ifdef WITH_GDB_DEBUGGER
|
#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);
|
LOG_SUCCESS(GENERAL, "GDB debug server will be started and listening on %d upon emulator boot", (int) g_cfg.misc.gdb_server_port);
|
||||||
|
|
|
@ -364,7 +364,7 @@ void main_window::BootRsxCapture(std::string path)
|
||||||
is_stopped = true;
|
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())
|
if (filePath.isEmpty())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue