mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-21 10:37:05 +00:00
flush file streamer after each write
This commit is contained in:
parent
f71046333d
commit
1752126f5c
4 changed files with 18 additions and 5 deletions
|
|
@ -116,6 +116,11 @@ void FileStream::extract(std::vector<uint8>& data)
|
|||
readData(data.data(), fileSize);
|
||||
}
|
||||
|
||||
void FileStream::Flush()
|
||||
{
|
||||
m_fileStream.flush();
|
||||
}
|
||||
|
||||
uint32 FileStream::readData(void* data, uint32 length)
|
||||
{
|
||||
SyncReadWriteSeek(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue