Store cheat strings inline
This commit is contained in:
parent
53714438ca
commit
42893d8618
|
@ -1366,7 +1366,7 @@ static int HandleTestKey(int key)
|
||||||
#define CHEAT_MAX_LEN 15
|
#define CHEAT_MAX_LEN 15
|
||||||
typedef struct cheat_code
|
typedef struct cheat_code
|
||||||
{
|
{
|
||||||
const char *string;
|
const char string[CHEAT_MAX_LEN];
|
||||||
int *stateptr;
|
int *stateptr;
|
||||||
} __pack__ cheat_code;
|
} __pack__ cheat_code;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue