NES.Engine.Engine C# (CSharp) Method

Engine() public method

public Engine ( string filename ) : System
filename string
return System
        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();
        }