diff options
| author | Zach Hilman <zachhilman@gmail.com> | 2018-12-28 18:20:29 -0500 |
|---|---|---|
| committer | Zach Hilman <zachhilman@gmail.com> | 2018-12-28 18:20:29 -0500 |
| commit | cb930c4b5a3f8f3931ba93ef35d4000558ffa79e (patch) | |
| tree | b897717a33fc0ba28134be25a9ba52e84b21d122 /src/core/hle/service/hid/controllers/npad.h | |
| parent | ef4c4e239da8e5771f61bf079eae25b28cbd0318 (diff) | |
web_browser: Add bounds checking to applet interface
Diffstat (limited to 'src/core/hle/service/hid/controllers/npad.h')
| -rw-r--r-- | src/core/hle/service/hid/controllers/npad.h | 2 |
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); |
