From e128696bd747e58b17a56b33ddadcb6a5eb9fd3e Mon Sep 17 00:00:00 2001 From: kalaposfos13 <153381648+kalaposfos13@users.noreply.github.com> Date: Fri, 3 Jan 2025 10:46:50 +0100 Subject: [PATCH] clang --- src/common/config.h | 2 +- src/input/controller.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/config.h b/src/common/config.h index 6d4fca080..0825f2bbf 100644 --- a/src/common/config.h +++ b/src/common/config.h @@ -141,4 +141,4 @@ void setDefaultValues(); // settings u32 GetLanguage(); -}; // namespace Config \ No newline at end of file +}; // namespace Config diff --git a/src/input/controller.cpp b/src/input/controller.cpp index 589448eef..10a18e4c2 100644 --- a/src/input/controller.cpp +++ b/src/input/controller.cpp @@ -257,7 +257,7 @@ void GameController::TryOpenSDLController() { LOG_ERROR(Input, "Failed to initialize accel controls for gamepad"); } } - + SDL_free(gamepads); SetLightBarRGB(0, 0, 255);