From 680d281cb94d52b956f20f342e04b91d1aab122e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Andr=C3=A9=20Santoni?= Date: Sun, 22 Jan 2017 18:53:33 +0100 Subject: [PATCH] Unhardcode CRC --- tasks/task_netplay_crc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/task_netplay_crc.c b/tasks/task_netplay_crc.c index 0b3a08ec8d..8b05bff0b8 100644 --- a/tasks/task_netplay_crc.c +++ b/tasks/task_netplay_crc.c @@ -97,7 +97,7 @@ static void task_netplay_crc_scan_handler(retro_task_t *task) for (j = 0; j < playlist->size; j++) { printf("%s\n", playlist->entries[j].crc32); - if (string_is_equal(playlist->entries[j].crc32, "6BE4CA95|crc")) + if (string_is_equal(playlist->entries[j].crc32, state->crc)) { strlcpy(state->path, playlist->entries[j].path, sizeof(state->path)); state->found = true;