mirror of https://github.com/PCSX2/pcsx2.git
Merge pull request #145 from Sonicadvance1/zzogl-pointer-cast
Fix a pointer cast on x86_64 in zzogl.
This commit is contained in:
commit
48d00e817f
|
@ -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