From f6b09c25e3ff991893496f1ea3fd8de4e19dcde3 Mon Sep 17 00:00:00 2001 From: radius Date: Sun, 22 Jan 2017 23:41:59 -0500 Subject: [PATCH] fix CRC matching --- tasks/task_netplay_find_content.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tasks/task_netplay_find_content.c b/tasks/task_netplay_find_content.c index 39dd19e440..53d1393f57 100644 --- a/tasks/task_netplay_find_content.c +++ b/tasks/task_netplay_find_content.c @@ -108,10 +108,11 @@ static void task_netplay_crc_scan_handler(retro_task_t *task) if (state->lpl_list->size == 0) 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;