From 37919144c84bb69eecd83498616305df4000dab0 Mon Sep 17 00:00:00 2001 From: booto Date: Wed, 5 Jun 2019 23:31:48 -0400 Subject: [PATCH] SI_DeviceGCAdapter: Stop it being detected as a steering wheel --- Source/Core/Core/HW/SI/SI_DeviceGCAdapter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/HW/SI/SI_DeviceGCAdapter.cpp b/Source/Core/Core/HW/SI/SI_DeviceGCAdapter.cpp index 880f8f88e2..3f3d70202c 100644 --- a/Source/Core/Core/HW/SI/SI_DeviceGCAdapter.cpp +++ b/Source/Core/Core/HW/SI/SI_DeviceGCAdapter.cpp @@ -7,6 +7,7 @@ #include #include "Common/CommonTypes.h" +#include "Common/Swap.h" #include "Core/ConfigManager.h" #include "Core/Core.h" #include "Core/HW/GCPad.h" @@ -60,7 +61,7 @@ int CSIDevice_GCAdapter::RunBuffer(u8* buffer, int length) // into this port on the hardware gc adapter, exposing it to the game. if (!GCAdapter::DeviceConnected(m_device_number)) { - TSIDevices device = SI_NONE; + u32 device = Common::swap32(SI_NONE); memcpy(buffer, &device, sizeof(device)); return 4; }