Buildfix for sse2 builds.

This commit is contained in:
Sacha committed 2013-11-13 12:08:46 +10:00
1 parent 08803c101e
commit 04b338f39e
3 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -704,7 +704,7 @@ inline bool TextureCache::TexCacheEntry::Matches(u16 dim2, u8 format2, int maxLe
void TextureCache::LoadClut() {
u32 clutAddr = gstate.getClutAddress();
if (Memory::IsValidAddress(clutAddr)) {
#if defined(_M_IX86) || defined(_M_X64)
#ifdef _M_SSE
int numBlocks = gstate.getClutLoadBlocks();
clutTotalBytes_ = numBlocks * 32;
const __m128i *source = (const __m128i *)Memory::GetPointerUnchecked(clutAddr);