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:
hrydgard 2008-11-22 20:44:02 +00:00
parent af9c6ec6ce
commit a534971d15
1 changed files with 1 additions and 5 deletions

View File

@ -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());
}