fix crash if "portable" config file could not be opened

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4129 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2009-08-31 22:51:19 +00:00
parent e4d8021a86
commit 881bf621be

View File

@ -142,7 +142,10 @@ bool DolphinApp::OnInit()
{
PanicAlert("Portable Setting could not be saved\n Are you running Dolphin from read only media or from a directory that dolphin is not located in?");
}
fclose(portable);
else
{
fclose(portable);
}
}
else
{