86Box v2.02 Stable/Final to fix a Joystick list initialization bug.
This commit is contained in:
@@ -8,13 +8,13 @@
|
||||
*
|
||||
* Joystick interface to host device.
|
||||
*
|
||||
* Version: @(#)win_joystick.cpp 1.0.11 2018/11/11
|
||||
* Version: @(#)win_joystick.cpp 1.0.12 2019/10/23
|
||||
*
|
||||
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
|
||||
* Miran Grca, <mgrca8@gmail.com>
|
||||
*
|
||||
* Copyright 2008-2018 Sarah Walker.
|
||||
* Copyright 2016-2018 Miran Grca.
|
||||
* Copyright 2008-2019 Sarah Walker.
|
||||
* Copyright 2016-2019 Miran Grca.
|
||||
*/
|
||||
#define DIRECTINPUT_VERSION 0x0800
|
||||
#include <dinput.h>
|
||||
@@ -121,8 +121,6 @@ void joystick_init()
|
||||
{
|
||||
int c;
|
||||
|
||||
if (joystick_type == 7) return;
|
||||
|
||||
atexit(joystick_close);
|
||||
|
||||
joysticks_present = 0;
|
||||
|
||||
Reference in New Issue
Block a user