diff options
| author | 2015-05-07 16:18:03 -0700 | |
|---|---|---|
| committer | 2015-05-07 16:18:03 -0700 | |
| commit | 4560178f6619b6550ee08220de05e917a01cda1e (patch) | |
| tree | 9a8ad21e178b73b45edbd1d6f467f3a86cdf0f38 /src/common/hash.h | |
| parent | Merge pull request #723 from lioncash/commonstr (diff) | |
| parent | Common: Remove mem_arena.cpp/h (diff) | |
| download | yuzu-4560178f6619b6550ee08220de05e917a01cda1e.tar.gz yuzu-4560178f6619b6550ee08220de05e917a01cda1e.tar.xz yuzu-4560178f6619b6550ee08220de05e917a01cda1e.zip | |
Merge pull request #725 from yuriks/remove-common-crap
Remove unused hash and mem_arena from common
Diffstat (limited to 'src/common/hash.h')
| -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); | ||