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); }
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); }