From a913e0f0fcbf699b19df673ace814cecbf905a7b Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 21 May 2016 08:18:08 -0700 Subject: [PATCH] Remove some unused private properties. --- Core/CwCheat.h | 2 +- UI/ControlMappingScreen.cpp | 3 ++- ext/native/ui/ui_screen.h | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/CwCheat.h b/Core/CwCheat.h index 9001bc213e..baf118b0b1 100644 --- a/Core/CwCheat.h +++ b/Core/CwCheat.h @@ -32,7 +32,7 @@ private: void InvalidateICache(u32 addr, int size); void SkipCodes(int count); void SkipAllCodes(); - bool cheatsOn, exit2, cheatEnabled; + bool exit2, cheatEnabled; int GetAddress(int value); std::vector codeNameList; diff --git a/UI/ControlMappingScreen.cpp b/UI/ControlMappingScreen.cpp index 3ebe05f158..3dbbdcd801 100644 --- a/UI/ControlMappingScreen.cpp +++ b/UI/ControlMappingScreen.cpp @@ -365,7 +365,8 @@ public: maxCount_(500) {} void Draw(UIContext &dc) override; void Update(const InputState &input_state) override; - void Axis(const AxisInput &input) override{ + void Axis(const AxisInput &input) override { + // TODO: Check input.deviceId? if (input.axisId == xAxis_) { curX_ = input.value; } else if (input.axisId == yAxis_) { diff --git a/ext/native/ui/ui_screen.h b/ext/native/ui/ui_screen.h index d408c1cfc5..18bb5fe6ec 100644 --- a/ext/native/ui/ui_screen.h +++ b/ext/native/ui/ui_screen.h @@ -203,7 +203,6 @@ private: std::string *value_; std::string textEditValue_; std::string placeholder_; - int step_; int maxLen_; };