private void clickReg(object sender, EventArgs e) { try { if (gecko.status() != WiiStatus.Breakpoint) { return; } } catch (EUSBGeckoException ex) { exceptionHandling.HandleException(ex); return; } if (!listSet) { return; } int tag = int.Parse(((Control)sender).Tag.ToString()); UInt32 value = changableRegs[tag]; regDialog.TopMost = mainForm.TopMost; if (regDialog.SetRegister(bpOutput.shortRegNames[tag], ref value)) { changableRegs[tag] = value; SendRegisters(); } }
private void clickReg(object sender, EventArgs e) { try { if (contextAddress == 0) { return; } } catch (ETCPGeckoException ex) { exceptionHandling.HandleException(ex); return; } if (!listSet) { return; } int tag = int.Parse(((Control)sender).Tag.ToString()); uint value = changableRegs[tag]; regDialog.TopMost = mainForm.TopMost; if (regDialog.SetRegister(bpOutput.shortRegNames[tag], ref value)) { changableRegs[tag] = value; SendRegisters(); } }