diff options
| author | 2015-05-07 18:31:18 -0300 | |
|---|---|---|
| committer | 2015-05-07 18:31:18 -0300 | |
| commit | d9df5b575acbc4d1516a332aba8796d7bf2b3868 (patch) | |
| tree | 506be130a59fb519a410ac892876ed1aa808efbe /src/common/hash.h | |
| parent | Common: Add proper macros to test for architecture pointer size (diff) | |
| download | yuzu-d9df5b575acbc4d1516a332aba8796d7bf2b3868.tar.gz yuzu-d9df5b575acbc4d1516a332aba8796d7bf2b3868.tar.xz yuzu-d9df5b575acbc4d1516a332aba8796d7bf2b3868.zip | |
Common: Remove hash.cpp/h
Currently unused and the code quality is pretty questionable.
Diffstat (limited to '')
| -rw-r--r-- | src/common/hash.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/common/hash.h b/src/common/hash.h deleted file mode 100644 index 0afaf0e37..000000000 --- a/src/common/hash.h +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | // Copyright 2013 Dolphin Emulator Project / 2014 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #pragma once | ||
| 6 | |||
| 7 | #include "common/common_types.h" | ||
| 8 | |||
| 9 | u32 HashFletcher(const u8* data_u8, size_t length); // FAST. Length & 1 == 0. | ||
| 10 | u32 HashAdler32(const u8* data, size_t len); // Fairly accurate, slightly slower | ||
| 11 | u32 HashFNV(const u8* ptr, int length); // Another fast and decent hash | ||
| 12 | u32 HashEctor(const u8* ptr, int length); // JUNK. DO NOT USE FOR NEW THINGS | ||
| 13 | u64 GetCRC32(const u8 *src, int len, u32 samples); // SSE4.2 version of CRC32 | ||
| 14 | u64 GetHashHiresTexture(const u8 *src, int len, u32 samples); | ||
| 15 | u64 GetMurmurHash3(const u8 *src, int len, u32 samples); | ||
| 16 | u64 GetHash64(const u8 *src, int len, u32 samples); | ||
| 17 | void SetHash64Function(bool useHiresTextures); | ||