Exemple #1
0
        public Snes9x(CoreComm NextComm, byte[] rom)
        {
            if (!LibSnes9x.debug_init(rom, rom.Length))
            {
                throw new Exception();
            }

            CoreComm = NextComm;
        }
Exemple #2
0
        public Snes9x(CoreComm comm, byte[] rom)
        {
            if (!LibSnes9x.debug_init(rom, rom.Length))
            {
                throw new Exception();
            }

            ServiceProvider = new BasicServiceProvider(this);
            CoreComm        = comm;
        }