From a5e1415e74ce5b6b2a339256aa3e97748a3a2484 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 22 Oct 2020 17:49:29 -0400 Subject: InputCommon: Migrate logging over to fmt Continues the migration of the logging calls over to the fmt capable ones. --- Source/Core/InputCommon/ControllerInterface/DInput/DInputJoystick.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/DInput/DInputJoystick.cpp') diff --git a/Source/Core/InputCommon/ControllerInterface/DInput/DInputJoystick.cpp b/Source/Core/InputCommon/ControllerInterface/DInput/DInputJoystick.cpp index 633950cc2d..67fd33186b 100644 --- a/Source/Core/InputCommon/ControllerInterface/DInput/DInputJoystick.cpp +++ b/Source/Core/InputCommon/ControllerInterface/DInput/DInputJoystick.cpp @@ -59,7 +59,7 @@ void InitJoystick(IDirectInput8* const idi8, HWND hwnd) if (FAILED(js_device->SetCooperativeLevel(GetAncestor(hwnd, GA_ROOT), DISCL_BACKGROUND | DISCL_EXCLUSIVE))) { - WARN_LOG( + WARN_LOG_FMT( PAD, "DInput: Failed to acquire device exclusively. Force feedback will be unavailable."); // Fall back to non-exclusive mode, with no rumble @@ -187,7 +187,7 @@ Joystick::~Joystick() } else { - ERROR_LOG(PAD, "DInputJoystick: GetDeviceInfo failed."); + ERROR_LOG_FMT(PAD, "DInputJoystick: GetDeviceInfo failed."); } DeInitForceFeedback(); -- cgit v1.2.3