This commit is contained in:
radius 2017-01-23 01:00:32 -05:00
parent 732c389f26
commit 9f3e2f6ba3

View File

@ -125,9 +125,9 @@ static void task_netplay_crc_scan_handler(retro_task_t *task)
{
for (j = 0; j < playlist->size; j++)
{
printf("CRC Match %s\n", state->crc);
if (string_is_equal(playlist->entries[j].crc32, state->crc))
{
printf("CRC Match %s\n", state->crc);
strlcpy(state->path, playlist->entries[j].path, sizeof(state->path));
state->found = true;
task_set_data(task, state);