Fix sceIoRemove() on Windows infinite looping.
This commit is contained in:
parent
a64890d3c3
commit
965592eda8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue