Commit 6a1f4ec3 authored by Richard Gobeille's avatar Richard Gobeille
Browse files

SW: fix buffer overflow preventing the game from starting, exposed by...

SW: fix buffer overflow preventing the game from starting, exposed by switching to the new memory allocation systems
parent cae5d703
......@@ -81,8 +81,8 @@ uint8_t KeyboardKeys[NUMGAMEFUNCTIONS][2];
int32_t MouseButtons[MAXMOUSEBUTTONS];
int32_t MouseButtonsClicked[MAXMOUSEBUTTONS];
int32_t MouseAnalogScale[MAXMOUSEAXES];
int32_t JoystickButtons[MAXJOYBUTTONS];
int32_t JoystickButtonsClicked[MAXJOYBUTTONS];
int32_t JoystickButtons[MAXJOYBUTTONSANDHATS];
int32_t JoystickButtonsClicked[MAXJOYBUTTONSANDHATS];
int32_t JoystickDigitalAxes[MAXJOYAXES][2];
int32_t JoystickAnalogAxes[MAXJOYAXES];
int32_t JoystickAnalogDead[MAXJOYAXES];
......
......@@ -121,8 +121,8 @@ extern uint8_t KeyboardKeys[NUMGAMEFUNCTIONS][2];
extern int32_t MouseButtons[MAXMOUSEBUTTONS];
extern int32_t MouseButtonsClicked[MAXMOUSEBUTTONS];
extern int32_t JoystickButtons[MAXJOYBUTTONS];
extern int32_t JoystickButtonsClicked[MAXJOYBUTTONS];
extern int32_t JoystickButtons[MAXJOYBUTTONSANDHATS];
extern int32_t JoystickButtonsClicked[MAXJOYBUTTONSANDHATS];
extern int32_t JoystickAnalogAxes[MAXJOYAXES];
extern int32_t MouseAnalogScale[MAXMOUSEAXES];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment