Path adaptation to Xbox
This commit is contained in:
@@ -37,9 +37,7 @@ int DoStat( const CString &sPath, struct stat *st )
|
|||||||
|
|
||||||
int DoRename( const CString &sOldPath, const CString &sNewPath )
|
int DoRename( const CString &sOldPath, const CString &sNewPath )
|
||||||
{
|
{
|
||||||
CString TempPath = sPath;
|
return rename( DoPathReplace(sOldPath), DoPathReplace(sNewPath) );
|
||||||
TempPath.Replace( "/", "\\" );
|
|
||||||
return rename( sPath );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int DoRemove( const CString &sPath )
|
int DoRemove( const CString &sPath )
|
||||||
|
|||||||
Reference in New Issue
Block a user