mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
CopyFile fixed (finally)
This commit is contained in:
parent
f8c64b1fb4
commit
7e8e288ba2
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ int OSCopyFile(const char* source, const char* destination, bool overwrite)
|
|||
{
|
||||
return -1;
|
||||
}
|
||||
if ((output = open(destination, O_RDWR | O_CREAT | (overwrite ? 0 : O_EXCL)), 0666) == -1)
|
||||
if ((output = open(destination, O_RDWR | O_CREAT | (overwrite ? 0 : O_EXCL), 0666)) == -1)
|
||||
{
|
||||
close(input);
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue