Skip to content

Commit

Permalink
core: Fix up issues introduced in vtlb xmm change
Browse files Browse the repository at this point in the history
  • Loading branch information
TellowKrinkle committed Sep 22, 2021
1 parent cff9f83 commit f401002
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pcsx2/Memory.cpp
Expand Up @@ -335,6 +335,7 @@ static RETURNS_R64 _ext_memRead64(u32 mem)

MEM_LOG("Unknown Memory read64 from address %8.8x", mem);
cpuTlbMissR(mem, cpuRegs.branch);
return r64_zero();
}

template<int p>
Expand All @@ -351,6 +352,7 @@ static RETURNS_R128 _ext_memRead128(u32 mem)

MEM_LOG("Unknown Memory read128 from address %8.8x", mem);
cpuTlbMissR(mem, cpuRegs.branch);
return r128_zero();
}

template<int p>
Expand Down
2 changes: 1 addition & 1 deletion pcsx2/SingleRegisterTypes.h
Expand Up @@ -59,7 +59,7 @@ __forceinline static r64 r64_from_u64(u64 val)
#ifdef _M_X86_64
return _mm_cvtsi64_si128(val);
#else
return r64_from_u32x2(val, val >> 64);
return r64_from_u32x2(val, val >> 32);
#endif
}

Expand Down

0 comments on commit f401002

Please sign in to comment.