Should work on Windows 95/98/ME as well now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6800 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
292b77b097
commit
2de7bca13b
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ int PatchFirmware()
|
|||
DeleteFile(name1);
|
||||
DeleteFile(name2);
|
||||
/* all is fine, rename the patched file to original name of the firmware */
|
||||
if (MoveFileEx(name3, fn, MOVEFILE_COPY_ALLOWED | MOVEFILE_REPLACE_EXISTING)) {
|
||||
if (DeleteFile(fn) && MoveFile(name3, fn)) {
|
||||
return 1;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue