prevent null check
This commit is contained in:
parent
37baccab99
commit
3a6c7b96fd
|
@ -272,7 +272,8 @@ bool task_push_netplay_crc_scan(uint32_t crc, char* name,
|
|||
{
|
||||
strlcpy(state->core_path, info->list[i].path, sizeof(state->core_path));
|
||||
|
||||
if (!string_is_equal(state->content_path, "N/A"))
|
||||
if (!string_is_equal(state->content_path, "N/A") &&
|
||||
!string_is_empty(info->list[i].supported_extensions))
|
||||
{
|
||||
strlcpy(state->core_extensions,
|
||||
info->list[i].supported_extensions, sizeof(state->core_extensions));
|
||||
|
|
Loading…
Reference in New Issue