summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/npad.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-12-29 00:20:29 +0100
committerZach Hilman <zachhilman@gmail.com>2018-12-29 00:20:29 +0100
commitcb930c4b5a3f8f3931ba93ef35d4000558ffa79e (patch)
treeb897717a33fc0ba28134be25a9ba52e84b21d122 /src/core/hle/service/hid/controllers/npad.h
parentcmake: Add USE_QT_WEB_ENGINE flag and update build system (diff)
downloadyuzu-cb930c4b5a3f8f3931ba93ef35d4000558ffa79e.tar
yuzu-cb930c4b5a3f8f3931ba93ef35d4000558ffa79e.tar.gz
yuzu-cb930c4b5a3f8f3931ba93ef35d4000558ffa79e.tar.bz2
yuzu-cb930c4b5a3f8f3931ba93ef35d4000558ffa79e.tar.lz
yuzu-cb930c4b5a3f8f3931ba93ef35d4000558ffa79e.tar.xz
yuzu-cb930c4b5a3f8f3931ba93ef35d4000558ffa79e.tar.zst
yuzu-cb930c4b5a3f8f3931ba93ef35d4000558ffa79e.zip
Diffstat (limited to 'src/core/hle/service/hid/controllers/npad.h')
-rw-r--r--src/core/hle/service/hid/controllers/npad.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.h b/src/core/hle/service/hid/controllers/npad.h
index 6906d9ffb..106cf58c8 100644
--- a/src/core/hle/service/hid/controllers/npad.h
+++ b/src/core/hle/service/hid/controllers/npad.h
@@ -126,7 +126,7 @@ public:
// Logical OR for all buttons presses on all controllers
// Specifically for cheat engine and other features.
- u32 GetPressState();
+ u32 GetAndResetPressState();
static std::size_t NPadIdToIndex(u32 npad_id);
static u32 IndexToNPad(std::size_t index);