mirror of https://github.com/RPCS3/rpcs3
rsx/gtest: Fix unit tests build on GCC
This commit is contained in:
parent
2c1d962bdc
commit
8495a138c6
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -306,7 +306,7 @@ namespace rsx
|
|||
|
||||
TEST(SimpleArray, Find)
|
||||
{
|
||||
const rsx::simple_array<u32> arr{
|
||||
const rsx::simple_array<int> arr{
|
||||
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
|
||||
};
|
||||
|
||||
|
|
@ -316,7 +316,7 @@ namespace rsx
|
|||
|
||||
TEST(SimpleArray, FindIf)
|
||||
{
|
||||
const rsx::simple_array<u32> arr{
|
||||
const rsx::simple_array<int> arr{
|
||||
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue