mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-03-29 23:19:43 -06:00
PSF file format: close file after encode() (#4122)
This commit is contained in:
parent
67ffd0334b
commit
f336096b12
@ -113,6 +113,7 @@ bool PSF::Encode(const std::filesystem::path& filepath) const {
|
||||
LOG_ERROR(Core, "Failed to write PSF file. Written {} Expected {}", written,
|
||||
psf_buffer.size());
|
||||
}
|
||||
file.Close();
|
||||
return written == psf_buffer.size();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user