mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
Savestates: Implement initial RAM ventilation system
This commit is contained in:
parent
2db607c716
commit
66d01b688c
15 changed files with 513 additions and 102 deletions
|
@ -674,12 +674,24 @@ namespace fs
|
|||
|
||||
// This is meant to modify files atomically, overwriting is likely
|
||||
bool commit(bool overwrite = true);
|
||||
bool open(std::string_view path);
|
||||
|
||||
pending_file() noexcept = default;
|
||||
|
||||
pending_file(std::string_view path) noexcept
|
||||
{
|
||||
open(path);
|
||||
}
|
||||
|
||||
pending_file(std::string_view path);
|
||||
pending_file(const pending_file&) = delete;
|
||||
pending_file& operator=(const pending_file&) = delete;
|
||||
~pending_file();
|
||||
|
||||
const std::string& get_temp_path() const
|
||||
{
|
||||
return m_path;
|
||||
}
|
||||
|
||||
private:
|
||||
std::string m_path{}; // Pending file path
|
||||
std::string m_dest{}; // Destination file path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue