mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 05:01:40 +00:00
Make buffers for device lists a bit longer. Just in case.
This commit is contained in:
parent
641256f7f0
commit
bce3848523
2 changed files with 3 additions and 3 deletions
|
@ -2390,7 +2390,7 @@ qboolean S_AL_Init( soundInterface_t *si )
|
|||
qalcIsExtensionPresent(NULL, "ALC_ENUMERATION_EXT")
|
||||
)
|
||||
{
|
||||
char devicenames[1024] = "";
|
||||
char devicenames[16384] = "";
|
||||
const char *devicelist;
|
||||
const char *defaultdevice;
|
||||
int curlen;
|
||||
|
@ -2494,7 +2494,7 @@ qboolean S_AL_Init( soundInterface_t *si )
|
|||
}
|
||||
else
|
||||
{
|
||||
char inputdevicenames[1024] = "";
|
||||
char inputdevicenames[16384] = "";
|
||||
const char *inputdevicelist;
|
||||
const char *defaultinputdevice;
|
||||
int curlen;
|
||||
|
|
|
@ -574,7 +574,7 @@ static void IN_InitJoystick( void )
|
|||
{
|
||||
int i = 0;
|
||||
int total = 0;
|
||||
char buf[MAX_STRING_CHARS] = "";
|
||||
char buf[16384] = "";
|
||||
|
||||
if (stick != NULL)
|
||||
SDL_JoystickClose(stick);
|
||||
|
|
Loading…
Reference in a new issue