mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-31 08:33:40 +00:00
Use encoding_crc32
This commit is contained in:
parent
e00ed7f209
commit
b548362869
@ -20,7 +20,7 @@
|
||||
#include "netplay_private.h"
|
||||
#include <net/net_socket.h>
|
||||
|
||||
#include "compat/zlib.h"
|
||||
#include <encodings/crc32.h>
|
||||
|
||||
#include "../../movie.h"
|
||||
#include "../../msg_hash.h"
|
||||
@ -288,5 +288,5 @@ uint32_t netplay_delta_frame_crc(netplay_t *netplay, struct delta_frame *delta)
|
||||
{
|
||||
if (!netplay->state_size)
|
||||
return 0;
|
||||
return crc32(0L, (const unsigned char*)delta->state, netplay->state_size);
|
||||
return encoding_crc32(0L, (const unsigned char*)delta->state, netplay->state_size);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user