mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00: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
1 changed files with 1 additions and 5 deletions
|
@ -47,11 +47,7 @@ bool CWII_IPC_HLE_Device_fs::Open(u32 _CommandAddress, u32 _Mode)
|
||||||
// clear tmp folder
|
// clear tmp folder
|
||||||
{
|
{
|
||||||
std::string WiiTempFolder(FULL_WII_USER_DIR "tmp");
|
std::string WiiTempFolder(FULL_WII_USER_DIR "tmp");
|
||||||
bool Result = File::DeleteDirRecursively(WiiTempFolder.c_str());
|
File::DeleteDirRecursively(WiiTempFolder.c_str());
|
||||||
if (Result == false)
|
|
||||||
{
|
|
||||||
PanicAlert("Cant delete Wii Temp folder");
|
|
||||||
}
|
|
||||||
File::CreateDir(WiiTempFolder.c_str());
|
File::CreateDir(WiiTempFolder.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue