File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
BizHawk.Client.Common/controllers
BizHawk.Client.EmuHawk/tools/BasicBot Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,6 @@ public void Toggle(string button)
3838 => _ = _pressed . ToggleMembership ( button ) ;
3939
4040 public void SetBool ( string button , bool value )
41- => _pressed . SetMembership ( button , shouldBeMember : ! value ) ;
41+ => _pressed . SetMembership ( button , shouldBeMember : value ) ;
4242 }
4343}
Original file line number Diff line number Diff line change @@ -992,7 +992,7 @@ private void PressButtons(bool clear_log)
992992 foreach ( var button in Emulator . ControllerDefinition . BoolButtons )
993993 {
994994 double probability = _cachedControlProbabilities [ button ] ;
995- bool pressed = ! ( rand . Next ( 100 ) < probability ) ;
995+ bool pressed = rand . Next ( 100 ) < probability ;
996996
997997 InputManager . ClickyVirtualPadController . SetBool ( button , pressed ) ;
998998 }
You can’t perform that action at this time.
0 commit comments