Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

IsVibrationEnabled() as a const member func

Morph1984dec5cac1c1d8
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp
index eb44b60268..e47fe81885 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;
}