summaryrefslogtreecommitdiff
path: root/src/common/hash.h
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-05-07 16:18:03 -0700
committerGravatar Yuri Kunde Schlesner2015-05-07 16:18:03 -0700
commit4560178f6619b6550ee08220de05e917a01cda1e (patch)
tree9a8ad21e178b73b45edbd1d6f467f3a86cdf0f38 /src/common/hash.h
parentMerge pull request #723 from lioncash/commonstr (diff)
parentCommon: Remove mem_arena.cpp/h (diff)
downloadyuzu-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.h17
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
9u32 HashFletcher(const u8* data_u8, size_t length); // FAST. Length & 1 == 0.
10u32 HashAdler32(const u8* data, size_t len); // Fairly accurate, slightly slower
11u32 HashFNV(const u8* ptr, int length); // Another fast and decent hash
12u32 HashEctor(const u8* ptr, int length); // JUNK. DO NOT USE FOR NEW THINGS
13u64 GetCRC32(const u8 *src, int len, u32 samples); // SSE4.2 version of CRC32
14u64 GetHashHiresTexture(const u8 *src, int len, u32 samples);
15u64 GetMurmurHash3(const u8 *src, int len, u32 samples);
16u64 GetHash64(const u8 *src, int len, u32 samples);
17void SetHash64Function(bool useHiresTextures);