not64/glN64_GX/CRC.h
Extrems c73cf029eb Implemented CACHE IXIN/IHIN and LLD/SCD instructions.
Optimized LDL/LDR/SDL/SDR instructions.
Optimized ULW/USW/ULD/USD instruction macros.
Optimized AND/OR/XOR/NOR/ORI/XORI with 32-bit operands.
Updated Mupen64Plus RSP HLE plugin.
Updated xxHash to v0.6.5.
Other minor fixes.
2022-10-29 22:00:35 -04:00

29 lines
714 B
C

/**
* glN64_GX - CRC.h
* Copyright (C) 2003 Orkin
* Copyright (C) 2008, 2009 sepp256 (Port to Wii/Gamecube/PS3)
*
* glN64 homepage: http://gln64.emulation64.com
* Wii64 homepage: http://www.emulatemii.com
* email address: sepp256@gmail.com
*
**/
#ifndef __LINUX__
# include <windows.h>
#else
# include "../main/winlnxdefs.h"
#endif // __LINUX__
#define XXH_INLINE_ALL
#define XXH_FORCE_NATIVE_FORMAT 1
#include "../main/xxhash.h"
void CRC_BuildTable();
DWORD CRC_Calculate( DWORD crc, void *buffer, DWORD count );
DWORD CRC_CalculatePalette( DWORD crc, void *buffer, DWORD count );
inline DWORD Hash_Calculate( DWORD hash, void *buffer, DWORD count )
{
return XXH32(buffer, count, hash);
}