mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-24 08:39:51 +00:00
Win32: Use CALLBACK (__stdcall) for DinputDevice::DevicesCallback. Fixes 32-bit compilation.
This commit is contained in:
parent
719aa9d9d2
commit
70e1abac08
@ -97,7 +97,7 @@ LPDIRECTINPUT8 DinputDevice::getPDI()
|
||||
return pDI;
|
||||
}
|
||||
|
||||
BOOL DinputDevice::DevicesCallback(
|
||||
BOOL CALLBACK DinputDevice::DevicesCallback(
|
||||
LPCDIDEVICEINSTANCE lpddi,
|
||||
LPVOID pvRef
|
||||
)
|
||||
|
@ -43,7 +43,7 @@ private:
|
||||
//also, it excludes the devices that are compatible with XInput
|
||||
static void getDevices();
|
||||
//callback for the WinAPI to call
|
||||
static BOOL DevicesCallback(
|
||||
static BOOL CALLBACK DevicesCallback(
|
||||
LPCDIDEVICEINSTANCE lpddi,
|
||||
LPVOID pvRef
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user