mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
commit
c5eafd58e8
@ -110,7 +110,7 @@ static void task_netplay_crc_scan_handler(retro_task_t *task)
|
|||||||
goto no_playlists;
|
goto no_playlists;
|
||||||
|
|
||||||
/* content with no CRC uses 00000000*/
|
/* content with no CRC uses 00000000*/
|
||||||
if (!string_is_equal(state->crc, "00000000"))
|
if (!string_is_equal(state->crc, "00000000|crc"))
|
||||||
{
|
{
|
||||||
printf("Using CRC matching\n");
|
printf("Using CRC matching\n");
|
||||||
for (i = 0; i < state->lpl_list->size; i++)
|
for (i = 0; i < state->lpl_list->size; i++)
|
||||||
@ -125,9 +125,9 @@ static void task_netplay_crc_scan_handler(retro_task_t *task)
|
|||||||
{
|
{
|
||||||
for (j = 0; j < playlist->size; j++)
|
for (j = 0; j < playlist->size; j++)
|
||||||
{
|
{
|
||||||
printf("CRC Match %s\n", state->crc);
|
|
||||||
if (string_is_equal(playlist->entries[j].crc32, 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));
|
strlcpy(state->path, playlist->entries[j].path, sizeof(state->path));
|
||||||
state->found = true;
|
state->found = true;
|
||||||
task_set_data(task, state);
|
task_set_data(task, state);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user