mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-22 10:39:18 +01:00
close file
This commit is contained in:
parent
ff78bdfaa5
commit
da58b6b3c0
@ -856,6 +856,7 @@ SaveFile (char * buffer, char *filepath, size_t datasize, bool silent)
|
||||
if(writesize != nextwrite) break; // write failure
|
||||
written += writesize;
|
||||
}
|
||||
fclose (file);
|
||||
|
||||
if(written != datasize) written = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user