diff options
| author | Max Roncace <me@caseif.net> | 2026-06-23 20:52:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-23 12:52:55 -0700 |
| commit | c8fa8c9e2aab72cf4e5db0e5d1c84a9ea6ee6eb0 (patch) | |
| tree | e74401818820cb5571533e10e3f1b987bdb8b75a /src/d/d_save.cpp | |
| parent | 8eae8919c8f53c4c5015ef9b664c6cd2f7c31f8b (diff) | |
Diffstat (limited to 'src/d/d_save.cpp')
| -rw-r--r-- | src/d/d_save.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/d/d_save.cpp b/src/d/d_save.cpp index aaa59edcf1..f52fd4398d 100644 --- a/src/d/d_save.cpp +++ b/src/d/d_save.cpp @@ -1009,9 +1009,12 @@ void dSv_player_config_c::init() { mPointer = 1; } -u32 dSv_player_config_c::checkVibration() const { +u8 dSv_player_config_c::checkVibration() const { #if PLATFORM_GCN - return JUTGamePad::sRumbleSupported & 0x80000000 ? dComIfGp_getNowVibration() : 0; + if (JUTGamePad::sRumbleSupported & 0x80000000) + return dComIfGp_getNowVibration(); + else + return 0; #else return dComIfGp_getNowVibration(); #endif |
