mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 15:59:23 +01:00
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:
parent
e4d8021a86
commit
881bf621be
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user