Merge pull request #224 from unknownbrackets/delete-fix

Fix sceIoRemove() on Windows infinite looping
This commit is contained in:
Florent Castelli committed 2012-12-22 09:21:42 -08:00
commit 9251bba73b
1 file changed
+1 -1
+1 -1
View File
@@ -92,7 +92,7 @@ bool DirectoryFileSystem::DeleteFile(const std::string &filename)
{
std::string fullName = GetLocalPath(filename);
#ifdef _WIN32
return DeleteFile(fullName.c_str()) == TRUE;
return ::DeleteFile(fullName.c_str()) == TRUE;
#else
return 0 == unlink(fullName.c_str());
#endif