mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
Increase size of string to silence warning
This commit is contained in:
parent
f7e4f440c8
commit
931397671f
@ -821,12 +821,12 @@ static void task_load_handler(retro_task_t *task)
|
||||
{
|
||||
if (state->autoload)
|
||||
{
|
||||
char *msg = (char*)malloc(1024 * sizeof(char));
|
||||
char *msg = (char*)malloc(8192 * sizeof(char));
|
||||
|
||||
msg[0] = '\0';
|
||||
|
||||
snprintf(msg,
|
||||
1024 * sizeof(char),
|
||||
8192 * sizeof(char),
|
||||
"%s \"%s\" %s.",
|
||||
msg_hash_to_str(MSG_AUTOLOADING_SAVESTATE_FROM),
|
||||
state->path,
|
||||
|
Loading…
x
Reference in New Issue
Block a user