From 33609717f8ce34811ff21ab864b8350e6fcf017e Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sat, 31 Aug 2019 14:33:40 +0300 Subject: [PATCH] rsx/cache: Warnings cleanup --- rpcs3/Emu/RSX/rsx_cache.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/rsx_cache.h b/rpcs3/Emu/RSX/rsx_cache.h index ebcd3951bc..267abb4210 100644 --- a/rpcs3/Emu/RSX/rsx_cache.h +++ b/rpcs3/Emu/RSX/rsx_cache.h @@ -870,8 +870,8 @@ namespace rsx for (u8 index = 0; index < 16; ++index) { - data_block.fp_alphakill_mask |= (u32)(fp.textures_alpha_kill[index] & 0x1) << index; - data_block.fp_zfunc_mask |= (u32)(fp.textures_zfunc[index] & 0xF) << (index << 2); + data_block.fp_alphakill_mask |= u32(fp.textures_alpha_kill[index] & 0x1) << index; + data_block.fp_zfunc_mask |= u64(fp.textures_zfunc[index] & 0xF) << (index << 2); } return data_block;