mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 00:28:56 +00: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
1 changed files with 4 additions and 1 deletions
|
@ -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?");
|
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
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue