mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Buildfix for Linux.
This commit is contained in:
parent
9948da9a21
commit
d86253cef2
1 changed files with 5 additions and 1 deletions
|
@ -28,6 +28,10 @@
|
|||
|
||||
#include "native/ext/cityhash/city.h"
|
||||
|
||||
#ifdef _M_SSE
|
||||
#include <xmmintrin.h>
|
||||
#endif
|
||||
|
||||
// If a texture hasn't been seen for this many frames, get rid of it.
|
||||
#define TEXTURE_KILL_AGE 200
|
||||
#define TEXTURE_KILL_AGE_LOWMEM 60
|
||||
|
@ -710,7 +714,7 @@ static inline u32 QuickTexHash(u32 addr, int bufw, int w, int h, u32 format) {
|
|||
const u32 *checkp = (const u32 *) Memory::GetPointer(addr);
|
||||
u32 check = 0;
|
||||
|
||||
#if !defined(ARM) && !defined(MIPS)
|
||||
#ifdef _M_SSE
|
||||
// Make sure both the size and start are aligned, OR will get either.
|
||||
if ((((u32)checkp | sizeInRAM) & 0xf) == 0) {
|
||||
__m128i cursor = _mm_set1_epi32(0);
|
||||
|
|
Loading…
Add table
Reference in a new issue