Merge pull request #145 from Sonicadvance1/zzogl-pointer-cast

Fix a pointer cast on x86_64 in zzogl.
This commit is contained in:
sudonim1 2014-07-16 10:53:54 +01:00
commit 48d00e817f
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;
// 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;
}