From 3649fb8b24a3a6143b881caed638ca4929617f58 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Tue, 3 Oct 2023 23:58:10 -0700 Subject: [PATCH] CDolphinController: name known field Former-commit-id: 8e579a2706aa09c186e4a1ea4ab0a21ed12202df --- include/Kyoto/Input/CDolphinController.hpp | 2 +- src/Kyoto/Input/CDolphinController.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/Kyoto/Input/CDolphinController.hpp b/include/Kyoto/Input/CDolphinController.hpp index ea4d29ce..77f16110 100644 --- a/include/Kyoto/Input/CDolphinController.hpp +++ b/include/Kyoto/Input/CDolphinController.hpp @@ -33,7 +33,7 @@ private: EMotorState x194_motorStates[4]; uint x1a4_controllerTypes[4]; uint x1b4_controllerTypePollTime[4]; - uint x1c4_; + uint x1c4_validControllers; uint x1c8_invalidControllers; uint x1cc_; }; diff --git a/src/Kyoto/Input/CDolphinController.cpp b/src/Kyoto/Input/CDolphinController.cpp index 34e8a02a..69197969 100644 --- a/src/Kyoto/Input/CDolphinController.cpp +++ b/src/Kyoto/Input/CDolphinController.cpp @@ -8,7 +8,7 @@ #include CDolphinController::CDolphinController() -: x1c4_(PAD_CHAN0_BIT | PAD_CHAN1_BIT | PAD_CHAN2_BIT | PAD_CHAN3_BIT) +: x1c4_validControllers(PAD_CHAN0_BIT | PAD_CHAN1_BIT | PAD_CHAN2_BIT | PAD_CHAN3_BIT) , x1c8_invalidControllers(0) , x1cc_(0) { static bool sIsInitialized = false;