mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-12-22 15:29:58 +00:00
imgfile_sdl: Flush on write.
This commit is contained in:
parent
0ce96ffc12
commit
aeac232e12
@ -79,5 +79,6 @@ uint64_t ImgFile::write(const void* buf, uint64_t offset, uint64_t length)
|
||||
{
|
||||
impl->stream->seekg(offset, std::ios::beg);
|
||||
impl->stream->write((const char *)buf, length);
|
||||
impl->stream->flush();
|
||||
return impl->stream->gcount();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user