mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Remove "Cant delete temp folder" error message.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1251 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
af9c6ec6ce
commit
a534971d15
@ -47,11 +47,7 @@ bool CWII_IPC_HLE_Device_fs::Open(u32 _CommandAddress, u32 _Mode)
|
||||
// clear tmp folder
|
||||
{
|
||||
std::string WiiTempFolder(FULL_WII_USER_DIR "tmp");
|
||||
bool Result = File::DeleteDirRecursively(WiiTempFolder.c_str());
|
||||
if (Result == false)
|
||||
{
|
||||
PanicAlert("Cant delete Wii Temp folder");
|
||||
}
|
||||
File::DeleteDirRecursively(WiiTempFolder.c_str());
|
||||
File::CreateDir(WiiTempFolder.c_str());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user