summaryrefslogtreecommitdiff
path: root/src/net_sdl.c
diff options
context:
space:
mode:
authorSimon Howard2014-05-16 01:19:14 -0400
committerSimon Howard2014-05-16 01:19:14 -0400
commite0331a01741905ac665adce1da0fb04e86db4b05 (patch)
treea9d616285569fecb5aaa271b9aa9048bb1701d3e /src/net_sdl.c
parentbbc098c3ee39ed3167d020275bf1df039df8fd41 (diff)
downloadchocolate-doom-e0331a01741905ac665adce1da0fb04e86db4b05.tar.gz
chocolate-doom-e0331a01741905ac665adce1da0fb04e86db4b05.tar.bz2
chocolate-doom-e0331a01741905ac665adce1da0fb04e86db4b05.zip
setup: Don't leave joystick subsystem running.
Only init the joystick subsystem when we need to call the joystick API functions, and quit the subsystem when we are finished. This avoids conflicts with the joystick widgets that quit the subsystem while the main code relies on it running. This fixes a bug where trying to calibrate the joystick twice would fail on the second attempt.
Diffstat (limited to 'src/net_sdl.c')
0 files changed, 0 insertions, 0 deletions