Lower maxdevices down to save some memory
This commit is contained in:
parent
8a9683542b
commit
418f345971
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ extern consvar_t cv_controllerled[MAXSPLITSCREENPLAYERS];
|
|||
|
||||
// current state of the keys: JOYAXISRANGE or 0 when boolean.
|
||||
// Or anything inbetween for analog values
|
||||
#define MAXDEVICES (MAXGAMEPADS + 10) // Gamepads + keyboard & mouse
|
||||
#define MAXDEVICES (MAXGAMEPADS + 1) // Gamepads + keyboard & mouse
|
||||
// the above is horrid since device tracks the gamepad id for whatever godawful reason
|
||||
// the gamepad instance id may be alot larger than (MAXGAMEPADS + 1)/"9"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue