Path adaptation to Xbox

This commit is contained in:
Renaud Lepage
2005-11-16 04:30:42 +00:00
parent cb34951e33
commit 7b6880ff1f
@@ -37,9 +37,7 @@ int DoStat( const CString &sPath, struct stat *st )
int DoRename( const CString &sOldPath, const CString &sNewPath )
{
CString TempPath = sPath;
TempPath.Replace( "/", "\\" );
return rename( sPath );
return rename( DoPathReplace(sOldPath), DoPathReplace(sNewPath) );
}
int DoRemove( const CString &sPath )