예제 #1
0
        private void TableOnValueChanged(object sender, ValueChangeArgs e)
        {
            var ramAddress    = captureAddress + e.Index;
            var bufferAddress = table.CalcAddress(e.Index);

            onlineManager.FirmwareManager.WriteRam(ramAddress, bufferAddress, table[e.Index], true);
        }
예제 #2
0
        public void WriteGBCValue(int index)
        {
            var source = gbc[index];
            var e      = new AutoCorrectionEventArgs(gbc.Address, index, source);

            OnAutoCorrection(e);
            if (e.Cancel)
            {
                return;
            }

            var address = gbc.CalcAddress(index);

            WriteRam(address, address, source);
        }