mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
Add a few comments
This commit is contained in:
parent
627be0fd83
commit
39e7b9ffde
@ -112,9 +112,11 @@ static void task_netplay_crc_scan_handler(retro_task_t *task)
|
|||||||
if (state->lpl_list->size == 0)
|
if (state->lpl_list->size == 0)
|
||||||
goto no_playlists;
|
goto no_playlists;
|
||||||
|
|
||||||
/* content with no CRC uses 00000000*/
|
/* Lobby reports content CRC, try to use CRC matching
|
||||||
|
content with no CRC uses 00000000 */
|
||||||
if (!string_is_equal(state->content_crc, "00000000|crc"))
|
if (!string_is_equal(state->content_crc, "00000000|crc"))
|
||||||
{
|
{
|
||||||
|
|
||||||
RARCH_LOG("Using CRC matching\n");
|
RARCH_LOG("Using CRC matching\n");
|
||||||
|
|
||||||
for (i = 0; i < state->lpl_list->size; i++)
|
for (i = 0; i < state->lpl_list->size; i++)
|
||||||
@ -150,6 +152,7 @@ static void task_netplay_crc_scan_handler(retro_task_t *task)
|
|||||||
free(playlist);
|
free(playlist);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/* Lobby reports core doesn't need content */
|
||||||
else if(string_is_equal(state->content_path, "N/A"))
|
else if(string_is_equal(state->content_path, "N/A"))
|
||||||
{
|
{
|
||||||
state->found = true;
|
state->found = true;
|
||||||
@ -159,6 +162,8 @@ static void task_netplay_crc_scan_handler(retro_task_t *task)
|
|||||||
task_set_finished(task, true);
|
task_set_finished(task, true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
/* Lobby reports that the core needs content but
|
||||||
|
the CRC wasn't reported */
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
RARCH_LOG("Using filename matching\n");
|
RARCH_LOG("Using filename matching\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user