Emitter: Fix s8 problem with displacements

This commit is contained in:
refractionpcsx2 2022-04-11 11:33:18 +01:00
parent 6438547edc
commit e5f90f176c
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ namespace x86Emitter
template <typename T>
static __fi bool is_s8(T imm)
{
return (s8)imm == (s32)imm;
return (s8)imm == (typename std::make_signed<T>::type)imm;
}
template <typename T>