From 46ee68eb1d887f9ad1d1efdd2311c40215ee6409 Mon Sep 17 00:00:00 2001 From: gibbed Date: Sat, 1 May 2021 17:23:00 -0500 Subject: [PATCH] [UI] Log unsuccessful SPDA result as unsigned. [UI] Log unsuccessful SetProcessDpiAwareness result as unsigned. --- src/xenia/ui/window_win.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xenia/ui/window_win.cc b/src/xenia/ui/window_win.cc index c86a5cec8..5bd187bca 100644 --- a/src/xenia/ui/window_win.cc +++ b/src/xenia/ui/window_win.cc @@ -66,7 +66,8 @@ bool Win32Window::OnCreate() { auto spda = (decltype(&SetProcessDpiAwareness))SetProcessDpiAwareness_; auto res = spda(PROCESS_PER_MONITOR_DPI_AWARE); if (res != S_OK) { - XELOGW("Failed to set process DPI awareness. (code = 0x{:08X})", res); + XELOGW("Failed to set process DPI awareness. (code = 0x{:08X})", + static_cast(res)); } }