diff options
author | Brad Hughes <bradhugh@outlook.com> | 2016-06-15 16:25:43 -0400 |
---|---|---|
committer | Brad Hughes <bradhugh@outlook.com> | 2016-06-15 16:25:43 -0400 |
commit | 9f214108eb78991227595a5b3e9080b90a16ac09 (patch) | |
tree | 90f5d8b66f76041724859a80bccbb8da1343ef31 /src/osd/modules/input | |
parent | 85f40091118091c07efc51d13e1df7376865ccae (diff) |
Add WINAPI to other needed functions for stdcall calling convention on 32-bit
Diffstat (limited to 'src/osd/modules/input')
-rw-r--r-- | src/osd/modules/input/input_xinput.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/modules/input/input_xinput.h b/src/osd/modules/input/input_xinput.h index 575f6d3fe34..0c0a4de897e 100644 --- a/src/osd/modules/input/input_xinput.h +++ b/src/osd/modules/input/input_xinput.h @@ -91,8 +91,8 @@ struct xinput_api_state }; // Typedefs for dynamically loaded functions -typedef DWORD (*xinput_get_state_fn)(DWORD, XINPUT_STATE *); -typedef DWORD (*xinput_get_caps_fn)(DWORD, DWORD, XINPUT_CAPABILITIES *); +typedef DWORD (WINAPI *xinput_get_state_fn)(DWORD, XINPUT_STATE *); +typedef DWORD (WINAPI *xinput_get_caps_fn)(DWORD, DWORD, XINPUT_CAPABILITIES *); class xinput_api_helper : public std::enable_shared_from_this<xinput_api_helper> { |