Restore an original struct name

This was buried in the Linux port
This commit is contained in:
Clownacy 2020-08-11 00:06:25 +01:00
parent d12ee0813f
commit a2ecd75271
3 changed files with 4 additions and 4 deletions

View file

@ -161,7 +161,7 @@ BOOL CALLBACK EnumDevices_Callback(LPCDIDEVICEINSTANCE lpddi, LPVOID pvRef)
return DIENUM_STOP;
}
BOOL GetJoystickStatus(JOYSTICK_STATUS *status)
BOOL GetJoystickStatus(DIRECTINPUTSTATUS *status)
{
DIJOYSTATE joystate;

View file

@ -2,7 +2,7 @@
#include "WindowsWrapper.h"
struct JOYSTICK_STATUS
struct DIRECTINPUTSTATUS
{
BOOL bLeft;
BOOL bRight;
@ -13,5 +13,5 @@ struct JOYSTICK_STATUS
void ReleaseDirectInput(void);
BOOL InitDirectInput(HINSTANCE hinst, HWND hWnd);
BOOL GetJoystickStatus(JOYSTICK_STATUS *status);
BOOL GetJoystickStatus(DIRECTINPUTSTATUS *status);
BOOL ResetJoystickStatus(void);

View file

@ -775,7 +775,7 @@ BOOL SystemTask(void)
void JoystickProc(void)
{
int i;
JOYSTICK_STATUS status;
DIRECTINPUTSTATUS status;
if (!GetJoystickStatus(&status))
return;