mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
Global: Cleanup some unreferenced warnings.
This commit is contained in:
1 parent
ca4a0a848a
commit
cf030c3bce
7 files changed
+13
-19
No files matched your search
@@ -217,7 +217,7 @@ u32 GetTextureBufw(int level, u32 texaddr, GETextureFormat format) {
|
||||
return bufw;
|
||||
}
|
||||
|
||||
// Is this compatible with QuickTexHashNEON/SSE?
|
||||
// Matches QuickTexHashNEON/SSE, see #7029.
|
||||
static u32 QuickTexHashNonSSE(const void *checkp, u32 size) {
|
||||
u32 check = 0;
|
||||
|
||||
@@ -269,20 +269,6 @@ static u32 QuickTexHashNonSSE(const void *checkp, u32 size) {
|
||||
return check;
|
||||
}
|
||||
|
||||
static u32 QuickTexHashBasic(const void *checkp, u32 size) {
|
||||
u32 check = 0;
|
||||
const u32 size_u32 = size / 4;
|
||||
const u32 *p = (const u32 *)checkp;
|
||||
for (u32 i = 0; i < size_u32; i += 4) {
|
||||
check += p[i + 0];
|
||||
check ^= p[i + 1];
|
||||
check += p[i + 2];
|
||||
check ^= p[i + 3];
|
||||
}
|
||||
|
||||
return check;
|
||||
}
|
||||
|
||||
u32 StableQuickTexHash(const void *checkp, u32 size) {
|
||||
#if defined(_M_SSE)
|
||||
return QuickTexHashSSE2(checkp, size);
|
||||
|
||||
Reference in new issue
Block a user