Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
elad335 committed Jun 1, 2021
1 parent 2d27e8e commit d6273f7
Show file tree
Hide file tree
Showing 3 changed files with 192 additions and 176 deletions.
2 changes: 1 addition & 1 deletion rpcs3/Emu/RSX/RSXThread.cpp
Expand Up @@ -2861,7 +2861,7 @@ namespace rsx
const std::string file_path = fs::get_config_dir() + "captures/" + Emu.GetTitleID() + "_" + date_time::current_time_narrow() + "_capture.rrc";

// todo: may want to compress this data?
serial_save save_manager;
utils::serial_save save_manager;
save_manager.reserve(0x800'0000); // 128MB

save_manager(frame_capture);
Expand Down
4 changes: 2 additions & 2 deletions rpcs3/Emu/System.cpp
@@ -1,4 +1,4 @@
#include "stdafx.h"
#include "stdafx.h"
#include "VFS.h"
#include "Utilities/bin_patch.h"
#include "Emu/Memory/vm.h"
Expand Down Expand Up @@ -380,7 +380,7 @@ bool Emulator::BootRsxCapture(const std::string& path)
}

std::unique_ptr<rsx::frame_capture_data> frame = std::make_unique<rsx::frame_capture_data>();
serial_load load_manager{ in_file.to_vector<u8>() };
utils::serial_load load_manager{ in_file.to_vector<u8>() };
load_manager(*frame);
in_file.close();

Expand Down

0 comments on commit d6273f7

Please sign in to comment.