mirror of
https://github.com/libretro/mgba.git
synced 2024-11-24 00:20:05 +00:00
Third-Party: Increase max ini section name length
This commit is contained in:
parent
e1be18a8ff
commit
22807c6274
@ -11,7 +11,7 @@
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#define SECTION_NAME_MAX 50
|
||||
#define SECTION_NAME_MAX 128
|
||||
#define KEY_NAME_MAX 32
|
||||
#define KEY_VALUE_MAX 16
|
||||
#define AXIS_INFO_MAX 12
|
||||
|
4
src/third-party/inih/ini.c
vendored
4
src/third-party/inih/ini.c
vendored
@ -21,8 +21,8 @@ https://github.com/benhoyt/inih
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#define MAX_SECTION 50
|
||||
#define MAX_NAME 50
|
||||
#define MAX_SECTION 128
|
||||
#define MAX_NAME 128
|
||||
|
||||
/* Strip whitespace chars off end of given string, in place. Return s. */
|
||||
static char* rstrip(char* s)
|
||||
|
Loading…
Reference in New Issue
Block a user