예제 #1
0
        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
            });
예제 #2
0
파일: Gui.cs 프로젝트: succeun/BizHawk
 public ScreenControlNDS(MelonDS nds)
 {
     //not sure if we actually need this nds instance yet
     this.nds = nds;
 }