mirror of https://github.com/PCSX2/pcsx2.git
Emitter: Fix s8 problem with displacements
This commit is contained in:
parent
6438547edc
commit
e5f90f176c
|
@ -75,7 +75,7 @@ namespace x86Emitter
|
||||||
template <typename T>
|
template <typename T>
|
||||||
static __fi bool is_s8(T imm)
|
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>
|
template <typename T>
|
||||||
|
|
Loading…
Reference in New Issue