summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-07-03 11:34:40 +0200
committerbunnei <bunneidev@gmail.com>2021-07-21 03:54:56 +0200
commit6c6e730e9a7d88184b807b97ce88da907f36d7e3 (patch)
treef2581e6d76b4c20693792a0c0fba6b05087fc6ac
parenthle: kernel: Track and release server sessions, and protect methods with locks. (diff)
downloadyuzu-6c6e730e9a7d88184b807b97ce88da907f36d7e3.tar
yuzu-6c6e730e9a7d88184b807b97ce88da907f36d7e3.tar.gz
yuzu-6c6e730e9a7d88184b807b97ce88da907f36d7e3.tar.bz2
yuzu-6c6e730e9a7d88184b807b97ce88da907f36d7e3.tar.lz
yuzu-6c6e730e9a7d88184b807b97ce88da907f36d7e3.tar.xz
yuzu-6c6e730e9a7d88184b807b97ce88da907f36d7e3.tar.zst
yuzu-6c6e730e9a7d88184b807b97ce88da907f36d7e3.zip
-rw-r--r--src/core/hle/service/hid/controllers/npad.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp
index 95d4f9588..b7f551e40 100644
--- a/src/core/hle/service/hid/controllers/npad.cpp
+++ b/src/core/hle/service/hid/controllers/npad.cpp
@@ -254,7 +254,6 @@ void Controller_NPad::InitNewlyAddedController(std::size_t controller_idx) {
}
void Controller_NPad::OnInit() {
- auto& kernel = system.Kernel();
for (std::size_t i = 0; i < styleset_changed_events.size(); ++i) {
styleset_changed_events[i] =
service_context.CreateEvent(fmt::format("npad:NpadStyleSetChanged_{}", i));