mirror of https://github.com/PCSX2/pcsx2.git
Fix a pointer cast on x86_64 in zzogl.
This commit is contained in:
parent
80b22ca2be
commit
2f98f5a6d6
|
@ -392,7 +392,7 @@ __forceinline void GSMem_to_ClutBuffer__T32_I4_CSM1_c(u32* vm, u32 csa)
|
|||
dst += 2;
|
||||
|
||||
// check for wrapping
|
||||
if (((u32)dst & 0x3ff) == 0) dst = GetClutBufferAddress<u16>(16);
|
||||
if (((uptr)dst & 0x3ff) == 0) dst = GetClutBufferAddress<u16>(16);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@ -408,7 +408,7 @@ __forceinline void GSMem_to_ClutBuffer__T32_I4_CSM1_c(u32* vm, u32 csa)
|
|||
dst += 2;
|
||||
|
||||
// check for wrapping
|
||||
if (((u32)dst & 0x3ff) == 0) dst = GetClutBufferAddress<u16>(16);
|
||||
if (((uptr)dst & 0x3ff) == 0) dst = GetClutBufferAddress<u16>(16);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue