mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-22 12:11:34 +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
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include <dinput.h>
|
||||
#include "quakedef.h"
|
||||
#include "winquake.h"
|
||||
#include <dinput.h>
|
||||
|
||||
//#include "dosisms.h"
|
||||
|
||||
#define DINPUT_BUFFERSIZE 16
|
||||
|
@ -903,7 +904,7 @@ static void IN_StartupJoystick (void)
|
|||
{
|
||||
int /*i,*/ numdevs;
|
||||
JOYCAPS jc;
|
||||
MMRESULT mmr;
|
||||
MMRESULT mmr = !JOYERR_NOERROR;
|
||||
|
||||
// assume no joystick
|
||||
joy_avail = false;
|
||||
|
@ -1172,7 +1173,7 @@ static qboolean IN_ReadJoystick (void)
|
|||
else
|
||||
{
|
||||
// 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?
|
||||
// Con_Printf ("IN_ReadJoystick: no response\n");
|
||||
// joy_avail = false;
|
||||
|
|
Loading…
Reference in a new issue