mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
fs: alternative fs::pending_file implementation (Win32)
Use MOVEFILE_WRITE_THROUGH instead of sync() on commit().
This commit is contained in:
parent
aaa20c0ff0
commit
3c614d95b8
3 changed files with 21 additions and 1 deletions
|
@ -649,6 +649,8 @@ namespace fs
|
|||
bool commit(bool overwrite = true);
|
||||
|
||||
pending_file(const std::string& path);
|
||||
pending_file(const pending_file&) = delete;
|
||||
pending_file& operator=(const pending_file&) = delete;
|
||||
~pending_file();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue