Fix sceIoRemove() on Windows infinite looping.

This commit is contained in:
Unknown W. Brackets 2012-12-22 09:01:59 -08:00
parent a64890d3c3
commit 965592eda8

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