Commit fb66688
[osx] Fix possible corruption when joystick connects early
device_add_callback could fire before the joysticks vector is
initialized if the controller is already enabled and connects instantly.1 parent d226797 commit fb66688
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
811 | 811 | | |
812 | 812 | | |
813 | 813 | | |
| 814 | + | |
| 815 | + | |
814 | 816 | | |
815 | 817 | | |
816 | 818 | | |
| |||
836 | 838 | | |
837 | 839 | | |
838 | 840 | | |
839 | | - | |
840 | | - | |
841 | 841 | | |
842 | 842 | | |
843 | 843 | | |
| |||
0 commit comments