From 7b83640a28010a8a6d5d3aab4da20fe75f3f94b2 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Mon, 2 Aug 2010 05:30:38 +0000 Subject: 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 --- Source/Core/Common/Src/Hash.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'Source/Core/Common/Src/Hash.cpp') 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) -- cgit v1.2.3