Initial commit

This commit is contained in:
Gericom
2025-11-22 17:21:45 +01:00
commit 5d6f67c612
517 changed files with 63025 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#include "common.h"
#include "DirectPalette.h"
u32 DirectPalette::GetHashCode() const
{
u32 hashcode = 1430287;
#pragma GCC unroll 8
for (int i = 0; i < 8; i++)
{
hashcode = hashcode * 7302013 + ((u32*)_colors)[i];
}
return hashcode;
}