OSX build fix.
Fixes Issue 2260 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5039 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
6200c99dd4
commit
e4dcdf796f
|
@ -234,7 +234,7 @@ u64 TexDecoder_GetFullHash(const u8 *src, int len, u64 seed)
|
|||
|
||||
u64 TexDecoder_GetFastHash(const u8 *src, int len, u64 seed)
|
||||
{
|
||||
u64 hash = seed ? seed : 0x1337c0debeefbabe;
|
||||
u64 hash = seed ? seed : 0x1337c0debeefbabeULL;
|
||||
int step = (len / 8) / 37;
|
||||
if (!step) step = 1;
|
||||
for (int i = 0; i < len / 8; i += step) {
|
||||
|
|
Loading…
Reference in New Issue