Clang-format against isleapp.cpp

This commit is contained in:
SnepOMatic (Rhew) 2025-11-13 10:09:09 +00:00
parent 957d53dc17
commit 54533ed1f5

View File

@ -66,9 +66,10 @@
#endif #endif
#ifdef __SWITCH__ #ifdef __SWITCH__
#include <switch.h>
#include "switch/filesys.h"
#include "switch/config.h" #include "switch/config.h"
#include "switch/filesys.h"
#include <switch.h>
#endif #endif
#ifdef WINDOWS_STORE #ifdef WINDOWS_STORE
@ -837,8 +838,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 = [](float p_strength, float p_lowFrequencyRumble, float p_highFrequencyRumble, MxU32 p_milliseconds auto rumble =
) { [](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)) {