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);