summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2021-05-14 20:51:33 +1200
committerGitHub <noreply@github.com>2021-05-14 20:51:33 +1200
commit9f91fb64479d3df14489378a6b4fb3ffa7d12f2d (patch)
tree702ec73b3745420750d05644c639f357492e57a1 /Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp
parent099bf16326c1549246fd1bd976fb1242e7ba0875 (diff)
parentf3ffac00583bd03d0620226392a2b15f3cfd273b (diff)
Merge pull request #9688 from Filoppi/input_cleanup
Input cleanup
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp')
-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 e232fd6ee7..f908181c8d 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_FMT(SERIALINTERFACE, "SDL failed to initialize");
+ ERROR_LOG_FMT(CONTROLLERINTERFACE, "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_FMT(SERIALINTERFACE, "SDL failed to initialize");
+ ERROR_LOG_FMT(CONTROLLERINTERFACE, "SDL failed to initialize");
return;
}
const Uint32 custom_events_start = SDL_RegisterEvents(2);
if (custom_events_start == static_cast<Uint32>(-1))
{
- ERROR_LOG_FMT(SERIALINTERFACE, "SDL failed to register custom events");
+ ERROR_LOG_FMT(CONTROLLERINTERFACE, "SDL failed to register custom events");
return;
}
s_stop_event_type = custom_events_start;