aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/hid/controllers/npad.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-10-17 18:11:39 -0400
committerLioncash <mathew1800@gmail.com>2019-10-17 18:11:41 -0400
commite433e9919168af64f8da30abfee4b95b48e44b8d (patch)
tree84eb6f495940a42bfbf6df19f6fbbb61f0f05282 /src/core/hle/service/hid/controllers/npad.h
parenta71e8066a15fd4c4642dc6b93931faf570ba0b0b (diff)
hid/npad: Remove redundant non-const variant of IsControllerSupported()
The const qualified variant can also be called in non-const contexts, so we can remove the non-const variant to eliminate a bit of code duplication.
Diffstat (limited to 'src/core/hle/service/hid/controllers/npad.h')
-rw-r--r--src/core/hle/service/hid/controllers/npad.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.h b/src/core/hle/service/hid/controllers/npad.h
index 7da72fde3..16c4caa1f 100644
--- a/src/core/hle/service/hid/controllers/npad.h
+++ b/src/core/hle/service/hid/controllers/npad.h
@@ -302,7 +302,6 @@ private:
};
void InitNewlyAddedControler(std::size_t controller_idx);
- bool IsControllerSupported(NPadControllerType controller);
bool IsControllerSupported(NPadControllerType controller) const;
NPadControllerType DecideBestController(NPadControllerType priority) const;
void RequestPadStateUpdate(u32 npad_id);