Exemple #1
0
        public InputOptionsForm(
            NesCore.Console console,
            KeyboardState keyboardState,
            MouseState mouseState,
            GameControllerManager gameControllerManager)
        {
            InitializeComponent();

            this.console               = console;
            this.keyboardState         = keyboardState;
            this.mouseState            = mouseState;
            this.gameControllerManager = gameControllerManager;
        }
Exemple #2
0
        public CodeDisassemblyForm(NesCore.Console console)
        {
            InitializeComponent();

            this.console   = console;
            this.processor = console.Processor;

            disassemblyLines      = new DisassemblyLine[0x10000];
            disassemblyLineSource = new string[0x10000];
            addressLabels         = new string[0x10000];
            queuedAddresses       = new bool[0x10000];
            lastRefresh           = DateTime.Now;
            needsRefresh          = true;

            this.disassemblyQueue = new Queue <ushort>();

#if DEBUG
            disassemblyTimer.Enabled = false;
#endif
        }