86Box v2.02 Stable/Final to fix a Joystick list initialization bug.

This commit is contained in:
OBattler
2019-10-23 23:16:16 +02:00
parent 0af4a8403a
commit 2e350558ef
3 changed files with 13 additions and 15 deletions

View File

@@ -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;