mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-17 00:52:00 +00:00
Fixed warnings.
This commit is contained in:
parent
e31f9fa9cd
commit
735ace6c0c
1 changed files with 4 additions and 3 deletions
|
@ -31,9 +31,10 @@
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <dinput.h>
|
|
||||||
#include "quakedef.h"
|
#include "quakedef.h"
|
||||||
#include "winquake.h"
|
#include "winquake.h"
|
||||||
|
#include <dinput.h>
|
||||||
|
|
||||||
//#include "dosisms.h"
|
//#include "dosisms.h"
|
||||||
|
|
||||||
#define DINPUT_BUFFERSIZE 16
|
#define DINPUT_BUFFERSIZE 16
|
||||||
|
@ -903,7 +904,7 @@ static void IN_StartupJoystick (void)
|
||||||
{
|
{
|
||||||
int /*i,*/ numdevs;
|
int /*i,*/ numdevs;
|
||||||
JOYCAPS jc;
|
JOYCAPS jc;
|
||||||
MMRESULT mmr;
|
MMRESULT mmr = !JOYERR_NOERROR;
|
||||||
|
|
||||||
// assume no joystick
|
// assume no joystick
|
||||||
joy_avail = false;
|
joy_avail = false;
|
||||||
|
@ -1172,7 +1173,7 @@ static qboolean IN_ReadJoystick (void)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// read error occurred
|
// read error occurred
|
||||||
// turning off the joystick seems too harsh for 1 read error,\
|
// turning off the joystick seems too harsh for 1 read error,
|
||||||
// but what should be done?
|
// but what should be done?
|
||||||
// Con_Printf ("IN_ReadJoystick: no response\n");
|
// Con_Printf ("IN_ReadJoystick: no response\n");
|
||||||
// joy_avail = false;
|
// joy_avail = false;
|
||||||
|
|
Loading…
Reference in a new issue