Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
Stella
Commits
78af2d16
Commit
78af2d16
authored
Apr 05, 2021
by
Christian Speckner
Browse files
Fix genesis widget.
parent
c0a7c667
Pipeline
#19176
passed with stages
in 15 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/debugger/gui/GenesisWidget.cxx
View file @
78af2d16
...
...
@@ -86,7 +86,7 @@ void GenesisWidget::loadConfig()
myPins
[
kJBbtn
]
->
setState
(
!
getPin
(
ourPinNo
[
kJBbtn
]));
myPins
[
kJCbtn
]
->
setState
(
getPin
(
Controller
::
AnalogPin
::
Five
)
==
AnalogReadout
::
dis
connect
());
getPin
(
Controller
::
AnalogPin
::
Five
)
==
AnalogReadout
::
connect
ToGround
());
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
...
...
@@ -106,7 +106,7 @@ void GenesisWidget::handleCommand(
break
;
case
kJCbtn
:
setPin
(
Controller
::
AnalogPin
::
Five
,
myPins
[
id
]
->
getState
()
?
AnalogReadout
::
dis
connect
()
:
myPins
[
id
]
->
getState
()
?
AnalogReadout
::
connect
ToGround
()
:
AnalogReadout
::
connectToVcc
());
break
;
default:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment