Increase size of string to 8192
This commit is contained in:
parent
931397671f
commit
761644ee57
|
@ -1638,8 +1638,8 @@ static bool command_event_main_state(unsigned cmd)
|
||||||
{
|
{
|
||||||
retro_ctx_size_info_t info;
|
retro_ctx_size_info_t info;
|
||||||
char msg[128];
|
char msg[128];
|
||||||
char *state_path = (char*)malloc(PATH_MAX_LENGTH * sizeof(char));
|
size_t state_path_size = 8192 * sizeof(char);
|
||||||
size_t state_path_size = PATH_MAX_LENGTH * sizeof(char);
|
char *state_path = (char*)malloc(state_path_size);
|
||||||
global_t *global = global_get_ptr();
|
global_t *global = global_get_ptr();
|
||||||
bool ret = false;
|
bool ret = false;
|
||||||
bool push_msg = true;
|
bool push_msg = true;
|
||||||
|
|
Loading…
Reference in New Issue