summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/DInput/DInput.cpp
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/DInput/DInput.cpp
parent87e4a0785addc5c0e4eb04cb7cf8d93c551d34fc (diff)
parenta5e1415e74ce5b6b2a339256aa3e97748a3a2484 (diff)
Merge pull request #9184 from lioncash/inputlog
InputCommon: Migrate logging over to fmt
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/DInput/DInput.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/DInput/DInput.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/DInput/DInput.cpp b/Source/Core/InputCommon/ControllerInterface/DInput/DInput.cpp
index 2fc0e1b972..d508de613a 100644
--- a/Source/Core/InputCommon/ControllerInterface/DInput/DInput.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/DInput/DInput.cpp
@@ -42,7 +42,7 @@ std::string GetDeviceName(const LPDIRECTINPUTDEVICE8 device)
}
else
{
- ERROR_LOG(PAD, "GetProperty(DIPROP_PRODUCTNAME) failed.");
+ ERROR_LOG_FMT(PAD, "GetProperty(DIPROP_PRODUCTNAME) failed.");
}
return result;
@@ -58,7 +58,7 @@ void PopulateDevices(HWND hwnd)
if (FAILED(DirectInput8Create(GetModuleHandle(nullptr), DIRECTINPUT_VERSION, IID_IDirectInput8,
(LPVOID*)&idi8, nullptr)))
{
- ERROR_LOG(PAD, "DirectInput8Create failed.");
+ ERROR_LOG_FMT(PAD, "DirectInput8Create failed.");
return;
}