mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-24 03:39:07 +02:00
Fix sceIoRemove() on Windows infinite looping.
This commit is contained in:
1 parent
a64890d3c3
commit
965592eda8
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user