diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-10-19 22:05:01 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-10-19 22:05:44 +0200 |
commit | 471a4e360d262cf3de65cb107eab477d7765981d (patch) | |
tree | 631b0199f42826c61216e40139f03f6a7eb1dacc /dinput | |
parent | b1bf518749677b9aa8267490ea46d685e6458d5e (diff) |
dinput: disable joystick input on msvc+asan
Diffstat (limited to 'dinput')
-rw-r--r-- | dinput/win32-joystick.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dinput/win32-joystick.cpp b/dinput/win32-joystick.cpp index 0f2687fe..3b83a7f1 100644 --- a/dinput/win32-joystick.cpp +++ b/dinput/win32-joystick.cpp @@ -226,6 +226,9 @@ win32_joy_ctx::enum_state::~enum_state() void win32_joy_ctx::enum_state::refresh() { all.clear(); +#ifdef __SANITIZE_ADDRESS__ + return; +#endif if (!di) { |