Commit 2015d98a authored by thrust26's avatar thrust26
Browse files

Merge branch 'master' of https://github.com/stella-emu/stella

parents b6b5b02d 78af2d16
Pipeline #19300 passed with stages
in 56 minutes and 49 seconds
......@@ -86,7 +86,7 @@ void GenesisWidget::loadConfig()
myPins[kJBbtn]->setState(!getPin(ourPinNo[kJBbtn]));
myPins[kJCbtn]->setState(
getPin(Controller::AnalogPin::Five) == AnalogReadout::disconnect());
getPin(Controller::AnalogPin::Five) == AnalogReadout::connectToGround());
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
......@@ -106,7 +106,7 @@ void GenesisWidget::handleCommand(
break;
case kJCbtn:
setPin(Controller::AnalogPin::Five,
myPins[id]->getState() ? AnalogReadout::disconnect() :
myPins[id]->getState() ? AnalogReadout::connectToGround() :
AnalogReadout::connectToVcc());
break;
default:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment