1
0
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:
Ruben De Smet
2016-01-05 19:10:28 +01:00
parent e035c7984a
commit cd72f282dc

View File

@@ -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)