From 4eb29916d3b4df133f263db28bd6ce456e531e67 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Tue, 14 Jan 2020 08:49:32 -0330 Subject: [PATCH] Fixed incorrect array initialization. --- src/emucore/Paddles.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emucore/Paddles.hxx b/src/emucore/Paddles.hxx index 21390592e..2f64a4df2 100644 --- a/src/emucore/Paddles.hxx +++ b/src/emucore/Paddles.hxx @@ -152,7 +152,7 @@ class Paddles : public Controller bool myKeyRepeat0{false}, myKeyRepeat1{false}; int myPaddleRepeat0{0}, myPaddleRepeat1{0}; - std::array myCharge{TRIGRANGE / 2}, myLastCharge{0}; + std::array myCharge{TRIGRANGE/2, TRIGRANGE/2}, myLastCharge{0}; int myLastAxisX{0}, myLastAxisY{0}; int myAxisDigitalZero{0}, myAxisDigitalOne{0};