diff --git a/ChocolArm64/Memory/MemoryManager.cs b/ChocolArm64/Memory/MemoryManager.cs index 2a1af93460..5354fc7fd0 100644 --- a/ChocolArm64/Memory/MemoryManager.cs +++ b/ChocolArm64/Memory/MemoryManager.cs @@ -243,7 +243,7 @@ namespace ChocolArm64.Memory { if (Sse2.IsSupported) { - return Vector128.Create(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ReadByte(position)).As(); + return Vector128.Create(ReadByte(position), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0).As(); } else { diff --git a/Ryujinx.Tests/Cpu/CpuTest.cs b/Ryujinx.Tests/Cpu/CpuTest.cs index a83e2b60da..f16c2fdd18 100644 --- a/Ryujinx.Tests/Cpu/CpuTest.cs +++ b/Ryujinx.Tests/Cpu/CpuTest.cs @@ -437,7 +437,7 @@ namespace Ryujinx.Tests.Cpu throw new PlatformNotSupportedException(); } - return Vector128.Create(0, BitConverter.DoubleToInt64Bits(e0)).As(); + return Vector128.Create(BitConverter.DoubleToInt64Bits(e0), 0).As(); } protected static Vector128 MakeVectorE0E1(double e0, double e1) @@ -491,7 +491,7 @@ namespace Ryujinx.Tests.Cpu throw new PlatformNotSupportedException(); } - return Vector128.Create(0, e0).As(); + return Vector128.Create(e0, 0).As(); } protected static Vector128 MakeVectorE0E1(ulong e0, ulong e1) @@ -501,7 +501,7 @@ namespace Ryujinx.Tests.Cpu throw new PlatformNotSupportedException(); } - return Vector128.Create(e1, e0).As(); + return Vector128.Create(e0, e1).As(); } protected static Vector128 MakeVectorE1(ulong e1) @@ -511,7 +511,7 @@ namespace Ryujinx.Tests.Cpu throw new PlatformNotSupportedException(); } - return Vector128.Create(e1, 0).As(); + return Vector128.Create(0, e1).As(); } protected static ulong GetVectorE0(Vector128 vector)