mame lua doesn't expose settings for optional dip switches, so hide them for now

38498868fc/src/mame/toaplan/toaplan2.cpp (L2960)
This commit is contained in:
vadosnaprimer 2023-04-14 19:23:50 +03:00
parent 7bd848f9f9
commit 8e6eac7bfd
1 changed files with 4 additions and 1 deletions

View File

@ -100,7 +100,10 @@ namespace BizHawk.Emulation.Cores.Arcades.MAME
setting.Options.Add(opt[0], opt[1]);
}
CurrentDriverSettings.Add(setting);
if (options.Any())
{
CurrentDriverSettings.Add(setting);
}
}
}
}