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:
1 parent
e4d8021a86
commit
881bf621be
1 file changed
+4
-1
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user