mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 18:58:36 +12:00
Added fs::file_ptr, fom::rewrite, cleanup
This commit is contained in:
parent
009aa3dcb9
commit
a4db58f5f2
19 changed files with 130 additions and 54 deletions
|
@ -124,7 +124,7 @@ bool TROPUSRLoader::Save(const std::string& filepath)
|
|||
Close();
|
||||
}
|
||||
|
||||
m_file = Emu.GetVFS().OpenFile(filepath, fom::write | fom::create | fom::trunc);
|
||||
m_file = Emu.GetVFS().OpenFile(filepath, fom::rewrite);
|
||||
m_file->Write(&m_header, sizeof(TROPUSRHeader));
|
||||
|
||||
for (const TROPUSRTableHeader& tableHeader : m_tableHeaders)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue