fix for when screen layout options somehow get messed up
This commit is contained in:
parent
bcc4fb0bab
commit
cb73761ff6
|
@ -32,7 +32,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.NDS
|
|||
|
||||
public bool PutSettings(MelonSettings o)
|
||||
{
|
||||
if (o == null)
|
||||
if (o == null || o.screenOptions == null)
|
||||
{
|
||||
o = new MelonSettings();
|
||||
o.screenOptions = new ScreenLayoutSettings();
|
||||
|
|
Loading…
Reference in New Issue