public static Bitmap Icon(this IEmulator core) { var attributes = core.Attributes(); if (!attributes.Ported) { return(Properties.Resources.CorpHawkSmall); } return(core switch { QuickNES _ => Properties.Resources.QuickNes, LibsnesCore _ => Properties.Resources.bsnes, GPGX _ => Properties.Resources.genplus, Gameboy _ => Properties.Resources.gambatte, Snes9x _ => Properties.Resources.snes9x, MAME _ => Properties.Resources.mame, MGBAHawk _ => Properties.Resources.mGba, MelonDS _ => Properties.Resources.melonDS, _ => null });
public ScreenControlNDS(MelonDS nds) { //not sure if we actually need this nds instance yet this.nds = nds; }