Fix a pointer cast on x86_64 in zzogl.

This commit is contained in:
Ryan Houdek 2014-07-15 18:16:14 -05:00
parent 80b22ca2be
commit 2f98f5a6d6
1 changed files with 2 additions and 2 deletions

View File

@ -392,7 +392,7 @@ __forceinline void GSMem_to_ClutBuffer__T32_I4_CSM1_c(u32* vm, u32 csa)
dst += 2; dst += 2;
// check for wrapping // check for wrapping
if (((u32)dst & 0x3ff) == 0) dst = GetClutBufferAddress<u16>(16); if (((uptr)dst & 0x3ff) == 0) dst = GetClutBufferAddress<u16>(16);
} }
break; break;
} }
@ -408,7 +408,7 @@ __forceinline void GSMem_to_ClutBuffer__T32_I4_CSM1_c(u32* vm, u32 csa)
dst += 2; dst += 2;
// check for wrapping // check for wrapping
if (((u32)dst & 0x3ff) == 0) dst = GetClutBufferAddress<u16>(16); if (((uptr)dst & 0x3ff) == 0) dst = GetClutBufferAddress<u16>(16);
} }
break; break;
} }