mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 19:13:07 +01:00
POSIX: implement move file method
This commit is contained in:
@@ -591,8 +591,7 @@ bool platform_file_copy(const utf8 *srcPath, const utf8 *dstPath, bool overwrite
|
||||
|
||||
bool platform_file_move(const utf8 *srcPath, const utf8 *dstPath)
|
||||
{
|
||||
STUB();
|
||||
return 0;
|
||||
return rename(srcPath, dstPath) == 0;
|
||||
}
|
||||
|
||||
bool platform_file_delete(const utf8 *path)
|
||||
|
||||
Reference in New Issue
Block a user