mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
Bug fix
This commit is contained in:
parent
a168b92948
commit
b45eac6c58
@ -126,8 +126,8 @@ int fcopy(const char *sourcePath, const char *destinationPath)
|
||||
printf ("%i/%i Bytes ", (int)offset, (int)fsize);
|
||||
|
||||
// Copy file to destination path
|
||||
numr = fread(copyBuf, 2, copyBufSize, sourceFile);
|
||||
fwrite(copyBuf, 2, numr, destinationFile);
|
||||
numr = fread(copyBuf, 1, copyBufSize, sourceFile);
|
||||
fwrite(copyBuf, 1, numr, destinationFile);
|
||||
offset += copyBufSize;
|
||||
|
||||
if (offset > fsize) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user