fix CRC matching

This commit is contained in:
radius 2017-01-22 23:41:59 -05:00
parent 8581067d65
commit f6b09c25e3
1 changed files with 4 additions and 2 deletions

View File

@ -110,8 +110,9 @@ static void task_netplay_crc_scan_handler(retro_task_t *task)
goto no_playlists;
/* content with no CRC uses 00000000*/
if (string_is_equal(state->path, "00000000"))
if (!string_is_equal(state->crc, "00000000"))
{
printf("Using CRC matching\n");
for (i = 0; i < state->lpl_list->size; i++)
{
playlist_t *playlist = NULL;
@ -143,6 +144,7 @@ static void task_netplay_crc_scan_handler(retro_task_t *task)
}
else
{
printf("Using filename matching\n");
for (i = 0; i < state->lpl_list->size; i++)
{
playlist_t *playlist = NULL;