コード例 #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();
        }
コード例 #2
0
ファイル: Engine.cs プロジェクト: mrmikey/nes
        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();
        }