diff --git a/src/emucore/Control.hxx b/src/emucore/Control.hxx index 42b26a4a6..3647d1bc0 100644 --- a/src/emucore/Control.hxx +++ b/src/emucore/Control.hxx @@ -328,10 +328,10 @@ class Controller : public Serializable private: /// The boolean value on each digital pin - std::array myDigitalPinState{true}; + std::array myDigitalPinState{true, true, true, true, true}; /// The analog value on each analog pin - std::array myAnalogPinValue{MAX_RESISTANCE}; + std::array myAnalogPinValue{MAX_RESISTANCE, MAX_RESISTANCE}; private: // Following constructors and assignment operators not supported