From ef98828d40378f9c020f59dec25b4e21fe0dbc39 Mon Sep 17 00:00:00 2001 From: Morph1984 <39850852+Morph1984@users.noreply.github.com> Date: Wed, 4 Sep 2019 10:15:49 -0400 Subject: [PATCH] IsVibrationEnabled() as a const member func --- src/core/hle/service/hid/controllers/npad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { can_controllers_vibrate = can_vibrate; } -bool Controller_NPad::IsVibrationEnabled() { +bool Controller_NPad::IsVibrationEnabled() const { return can_controllers_vibrate; }