mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
Fix crc32 comparision (#13884)
As state->content_crc has "|crc" suffix.
This commit is contained in:
parent
2864f70bd9
commit
f377c0d041
@ -288,7 +288,7 @@ static void task_netplay_crc_scan_handler(retro_task_t *task)
|
|||||||
playlist_path = playlist_entry->path;
|
playlist_path = playlist_entry->path;
|
||||||
playlist_crc32 = playlist_entry->crc32;
|
playlist_crc32 = playlist_entry->crc32;
|
||||||
|
|
||||||
if (have_crc && string_is_equal(playlist_crc32, state->content_crc))
|
if (have_crc && string_starts_with(state->content_crc, playlist_crc32))
|
||||||
{
|
{
|
||||||
RARCH_LOG("[Lobby]: CRC match %s\n", playlist_crc32);
|
RARCH_LOG("[Lobby]: CRC match %s\n", playlist_crc32);
|
||||||
strlcpy(state->content_path, playlist_path, sizeof(state->content_path));
|
strlcpy(state->content_path, playlist_path, sizeof(state->content_path));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user