diff options
| author | 2019-09-04 10:15:49 -0400 | |
|---|---|---|
| committer | 2019-09-04 10:15:49 -0400 | |
| commit | ef98828d40378f9c020f59dec25b4e21fe0dbc39 (patch) | |
| tree | 8bc917d22ae6e352d12153d74db4afdf9884ba66 | |
| parent | clang-format (diff) | |
| download | yuzu-ef98828d40378f9c020f59dec25b4e21fe0dbc39.tar.gz yuzu-ef98828d40378f9c020f59dec25b4e21fe0dbc39.tar.xz yuzu-ef98828d40378f9c020f59dec25b4e21fe0dbc39.zip | |
IsVibrationEnabled() as a const member func
| -rw-r--r-- | src/core/hle/service/hid/controllers/npad.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp index eb44b6026..e47fe8188 100644 --- a/src/core/hle/service/hid/controllers/npad.cpp +++ b/src/core/hle/service/hid/controllers/npad.cpp | |||
| @@ -641,7 +641,7 @@ void Controller_NPad::SetVibrationEnabled(bool can_vibrate) { | |||
| 641 | can_controllers_vibrate = can_vibrate; | 641 | can_controllers_vibrate = can_vibrate; |
| 642 | } | 642 | } |
| 643 | 643 | ||
| 644 | bool Controller_NPad::IsVibrationEnabled() { | 644 | bool Controller_NPad::IsVibrationEnabled() const { |
| 645 | return can_controllers_vibrate; | 645 | return can_controllers_vibrate; |
| 646 | } | 646 | } |
| 647 | 647 | ||