summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/Hash.cpp
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2010-08-02 05:30:38 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2010-08-02 05:30:38 +0000
commit7b83640a28010a8a6d5d3aab4da20fe75f3f94b2 (patch)
treeda8e3a91f79e5eceda4bdf02a2ab27df1cef8446 /Source/Core/Common/Src/Hash.cpp
parent9c36f0bc88a0fa9a7b23a2224798190af43251b7 (diff)
make "show pc" in dsp lle debugger actually work again
code cleanup in Hash.cpp git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6033 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/Hash.cpp')
-rw-r--r--Source/Core/Common/Src/Hash.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/Source/Core/Common/Src/Hash.cpp b/Source/Core/Common/Src/Hash.cpp
index 406690464e..3f4602ecdc 100644
--- a/Source/Core/Common/Src/Hash.cpp
+++ b/Source/Core/Common/Src/Hash.cpp
@@ -105,21 +105,6 @@ u32 HashFNV(const u8* ptr, int length)
}
-// Another fast and decent hash
-u32 HashFNV1(const u8* ptr, int length)
-{
- u32 hash = 0x811c9dc5;
-
- for (int i = 0; i < length; i++)
- {
- hash *= 1677761;
- hash ^= ptr[i];
- }
-
- return(hash);
-}
-
-
// Stupid hash - but can't go back now :)
// Don't use for new things. At least it's reasonably fast.
u32 HashEctor(const u8* ptr, int length)