From ef6872984cdf0b8b4b08128223f513de4f3c913e Mon Sep 17 00:00:00 2001 From: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Tue, 17 Dec 2024 21:34:06 +0000 Subject: [PATCH] Fix wchar_t usage for Linux. --- PowerUtils/xbox.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PowerUtils/xbox.h b/PowerUtils/xbox.h index ff063a4..790d440 100644 --- a/PowerUtils/xbox.h +++ b/PowerUtils/xbox.h @@ -333,7 +333,7 @@ typedef struct _XCONTENT_DATA { be DeviceID; be dwContentType; - be szDisplayName[XCONTENT_MAX_DISPLAYNAME]; + be szDisplayName[XCONTENT_MAX_DISPLAYNAME]; char szFileName[XCONTENT_MAX_FILENAME]; } XCONTENT_DATA, * PXCONTENT_DATA; @@ -353,7 +353,7 @@ typedef struct _XDEVICE_DATA be DeviceType; be ulDeviceBytes; be ulDeviceFreeBytes; - be wszName[XCONTENTDEVICE_MAX_NAME]; + be wszName[XCONTENTDEVICE_MAX_NAME]; } XDEVICE_DATA, *PXDEVICE_DATA; // Direct reflection of XInput structures