/// <summary> /// Toggle /RES /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void button3_Click_1(object sender, EventArgs e) { ppu.Pads.nRES = Base.Toggle((int)ppu.Pads.nRES); ppu.ResetPadLogic(); ppu.NotifyListeners(); }