summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/SDL
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-10-23 19:59:22 +0200
committerGitHub <noreply@github.com>2020-10-23 19:59:22 +0200
commitce6eda7c717c1dad7d79b91ec421c196ac969357 (patch)
tree873d58f4d200391135106b5e459b8d45cf47332c /Source/Core/InputCommon/ControllerInterface/SDL
parent87e4a0785addc5c0e4eb04cb7cf8d93c551d34fc (diff)
parenta5e1415e74ce5b6b2a339256aa3e97748a3a2484 (diff)
Merge pull request #9184 from lioncash/inputlog
InputCommon: Migrate logging over to fmt
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/SDL')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp
index 2d2d256c2a..e232fd6ee7 100644
--- a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp
@@ -81,7 +81,7 @@ void Init()
{
#if !SDL_VERSION_ATLEAST(2, 0, 0)
if (SDL_Init(SDL_INIT_JOYSTICK) != 0)
- ERROR_LOG(SERIALINTERFACE, "SDL failed to initialize");
+ ERROR_LOG_FMT(SERIALINTERFACE, "SDL failed to initialize");
return;
#else
s_hotplug_thread = std::thread([] {
@@ -95,14 +95,14 @@ void Init()
if (SDL_Init(SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC) != 0)
{
- ERROR_LOG(SERIALINTERFACE, "SDL failed to initialize");
+ ERROR_LOG_FMT(SERIALINTERFACE, "SDL failed to initialize");
return;
}
const Uint32 custom_events_start = SDL_RegisterEvents(2);
if (custom_events_start == static_cast<Uint32>(-1))
{
- ERROR_LOG(SERIALINTERFACE, "SDL failed to register custom events");
+ ERROR_LOG_FMT(SERIALINTERFACE, "SDL failed to register custom events");
return;
}
s_stop_event_type = custom_events_start;