diff --git a/rpcs3/tests/test_rsx_cfg.cpp b/rpcs3/tests/test_rsx_cfg.cpp index 905ac5a049..1708774d76 100644 --- a/rpcs3/tests/test_rsx_cfg.cpp +++ b/rpcs3/tests/test_rsx_cfg.cpp @@ -45,7 +45,7 @@ namespace rsx::assembler auto create_if(u32 end, u32 _else = 0) { OPDEST dst{}; - dst.opcode = RSX_FP_OPCODE_IFE; + dst.opcode = RSX_FP_OPCODE_IFE & 0x3Fu; SRC1 src1{}; src1.else_offset = (_else ? _else : end) << 2; diff --git a/rpcs3/tests/test_simple_array.cpp b/rpcs3/tests/test_simple_array.cpp index fcec3568f4..0627c1d4d1 100644 --- a/rpcs3/tests/test_simple_array.cpp +++ b/rpcs3/tests/test_simple_array.cpp @@ -306,7 +306,7 @@ namespace rsx TEST(SimpleArray, Find) { - const rsx::simple_array arr{ + const rsx::simple_array arr{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; @@ -316,7 +316,7 @@ namespace rsx TEST(SimpleArray, FindIf) { - const rsx::simple_array arr{ + const rsx::simple_array arr{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };