Fixed unaligned access in NVIDIA SHIELD Controller driver
Also refactored the LOAD16() and LOAD32() macros into SDL_hidapijoystick_c.h
This commit is contained in:
@@ -32,8 +32,6 @@
|
||||
// Define this if you want to log all packets from the controller
|
||||
// #define DEBUG_PS3_PROTOCOL
|
||||
|
||||
#define LOAD16(A, B) (Sint16)((Uint16)(A) | (((Uint16)(B)) << 8))
|
||||
|
||||
typedef enum
|
||||
{
|
||||
k_EPS3ReportIdState = 1,
|
||||
|
||||
Reference in New Issue
Block a user