Fixed the crash that would occur if vbam.ini and vbam.cfg are not found
This commit is contained in:
parent
392ad54086
commit
6a987e31b7
|
@ -416,7 +416,7 @@ void SetHome(char *_arg0)
|
||||||
|
|
||||||
void OpenPreferences(const char *name)
|
void OpenPreferences(const char *name)
|
||||||
{
|
{
|
||||||
if (!preferences)
|
if (!preferences && name)
|
||||||
preferences = iniparser_load(name);
|
preferences = iniparser_load(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue