From 328a21ad032f482725981cec16668a500e9cc10f Mon Sep 17 00:00:00 2001 From: "SnepOMatic (Rhew)" Date: Sat, 15 Nov 2025 19:57:17 +0000 Subject: [PATCH] Fix: use Clang-Format 17 instead of 21 --- ISLE/isleapp.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/ISLE/isleapp.cpp b/ISLE/isleapp.cpp index 9fb78886..72c11a7b 100644 --- a/ISLE/isleapp.cpp +++ b/ISLE/isleapp.cpp @@ -67,6 +67,7 @@ #ifdef __SWITCH__ #include "switch/config.h" + #include #endif @@ -836,17 +837,17 @@ SDL_AppResult SDL_AppEvent(void* appstate, SDL_Event* event) } } else if (event->user.type == g_legoSdlEvents.m_gameEvent) { - auto rumble = - [](float p_strength, float p_lowFrequencyRumble, float p_highFrequencyRumble, MxU32 p_milliseconds) { - if (g_isle->GetHaptic() && - !InputManager() - ->HandleRumbleEvent(p_strength, p_lowFrequencyRumble, p_highFrequencyRumble, p_milliseconds)) { + auto rumble = [](float p_strength, float p_lowFrequencyRumble, float p_highFrequencyRumble, MxU32 p_milliseconds + ) { + if (g_isle->GetHaptic() && + !InputManager() + ->HandleRumbleEvent(p_strength, p_lowFrequencyRumble, p_highFrequencyRumble, p_milliseconds)) { // Platform-specific handling #ifdef __EMSCRIPTEN__ - Emscripten_HandleRumbleEvent(p_lowFrequencyRumble, p_highFrequencyRumble, p_milliseconds); + Emscripten_HandleRumbleEvent(p_lowFrequencyRumble, p_highFrequencyRumble, p_milliseconds); #endif - } - }; + } + }; switch (event->user.code) { case e_hitActor: