Exemple #1
0
        public Engine(string filename)
        {
            CPU         = new CPU(this);
            PPU         = new PPU(this);
            APU         = new APU(this);
            IORegisters = new IORegisters(this, PPU);
            Joypads     = new Joypads();

            loadiNes(filename);
            Graphics = new Graphics(this, 256, 240);
            Joypads.Initialise();
        }
Exemple #2
0
        public Engine(string filename)
        {
            CPU = new CPU(this);
            PPU = new PPU(this);
            APU = new APU(this);
            IORegisters = new IORegisters(this, PPU);
            Joypads = new Joypads();

            loadiNes(filename);
            Graphics = new Graphics(this, 256,240);
            Joypads.Initialise();
        }