Fix: use Clang-Format 17 instead of 21

This commit is contained in:
SnepOMatic (Rhew) 2025-11-15 19:57:17 +00:00
parent 6b0c5b51e6
commit 328a21ad03

View File

@ -67,6 +67,7 @@
#ifdef __SWITCH__ #ifdef __SWITCH__
#include "switch/config.h" #include "switch/config.h"
#include <switch.h> #include <switch.h>
#endif #endif
@ -836,8 +837,8 @@ SDL_AppResult SDL_AppEvent(void* appstate, SDL_Event* event)
} }
} }
else if (event->user.type == g_legoSdlEvents.m_gameEvent) { else if (event->user.type == g_legoSdlEvents.m_gameEvent) {
auto rumble = auto rumble = [](float p_strength, float p_lowFrequencyRumble, float p_highFrequencyRumble, MxU32 p_milliseconds
[](float p_strength, float p_lowFrequencyRumble, float p_highFrequencyRumble, MxU32 p_milliseconds) { ) {
if (g_isle->GetHaptic() && if (g_isle->GetHaptic() &&
!InputManager() !InputManager()
->HandleRumbleEvent(p_strength, p_lowFrequencyRumble, p_highFrequencyRumble, p_milliseconds)) { ->HandleRumbleEvent(p_strength, p_lowFrequencyRumble, p_highFrequencyRumble, p_milliseconds)) {