summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-09-24 00:05:00 +0200
committerGitHub <noreply@github.com>2023-09-24 00:05:00 +0200
commitc67cd65b53236b638064e34a87206e895c538f2d (patch)
tree3b41e3c5655bdc85eee6fef2efa8e5ab7c70f2aa /Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp
parentc0f690b780c2b01a448ef51f19f936a9f89435a8 (diff)
parent63467559b20682a6b9e4ec43c6b43456e1fca111 (diff)
Merge pull request #12190 from AdmiralCurtiss/fmt10
Update fmt to 10.1.1
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp b/Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp
index fc6441bb8d..b31c5f1f8e 100644
--- a/Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp
@@ -23,6 +23,7 @@
#include <fmt/format.h>
+#include "Common/HRWrap.h"
#include "Common/Logging/Log.h"
#include "Common/StringUtil.h"
#include "InputCommon/ControllerInterface/ControllerInterface.h"
@@ -506,7 +507,7 @@ private:
catch (winrt::hresult_error error)
{
ERROR_LOG_FMT(CONTROLLERINTERFACE,
- "WGInput: IRawGameController::GetCurrentReading failed: {:x}", error.code());
+ "WGInput: IRawGameController::GetCurrentReading failed: {}", error.code());
}
// IGamepad:
@@ -518,7 +519,7 @@ private:
}
catch (winrt::hresult_error error)
{
- ERROR_LOG_FMT(CONTROLLERINTERFACE, "WGInput: IGamepad::GetCurrentReading failed: {:x}",
+ ERROR_LOG_FMT(CONTROLLERINTERFACE, "WGInput: IGamepad::GetCurrentReading failed: {}",
error.code());
}
}