mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 19:58:36 +01:00
Avoid a couple of unnecessary Exists checks
This commit is contained in:
1 parent
98780ba603
commit
3d960d23ea
2 files changed
+5
-4
No files matched your search
+1
-3
@@ -838,10 +838,8 @@ static void InitMemstickDirectory() {
|
||||
// We're screwed anyway if we can't write to Documents, or can't detect it.
|
||||
if (!File::CreateEmptyFile(testFile))
|
||||
g_Config.memStickDirectory = myDocsPath;
|
||||
|
||||
// Clean up our mess.
|
||||
if (File::Exists(testFile))
|
||||
File::Delete(testFile);
|
||||
File::Delete(testFile);
|
||||
}
|
||||
|
||||
static void WinMainInit() {
|
||||
|
||||
Reference in new issue
Block a user