summaryrefslogtreecommitdiff
path: root/src/common/hash.h
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-05-07 18:31:18 -0300
committerGravatar Yuri Kunde Schlesner2015-05-07 18:31:18 -0300
commitd9df5b575acbc4d1516a332aba8796d7bf2b3868 (patch)
tree506be130a59fb519a410ac892876ed1aa808efbe /src/common/hash.h
parentCommon: Add proper macros to test for architecture pointer size (diff)
downloadyuzu-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.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);