Skip to content

Commit

Permalink
Increase size of string to 8192
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Sep 28, 2018
1 parent 9313976 commit 761644e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions command.c
Original file line number Diff line number Diff line change
Expand Up @@ -1638,8 +1638,8 @@ static bool command_event_main_state(unsigned cmd)
{
retro_ctx_size_info_t info;
char msg[128];
char *state_path = (char*)malloc(PATH_MAX_LENGTH * sizeof(char));
size_t state_path_size = PATH_MAX_LENGTH * sizeof(char);
size_t state_path_size = 8192 * sizeof(char);
char *state_path = (char*)malloc(state_path_size);
global_t *global = global_get_ptr();
bool ret = false;
bool push_msg = true;
Expand Down

0 comments on commit 761644e

Please sign in to comment.