From f3629a9e86fef29727e89f7a41ed725e57eae3f6 Mon Sep 17 00:00:00 2001 From: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Tue, 14 Jan 2025 08:01:12 -0800 Subject: [PATCH] [Encore] Fix System Bus endianness --- .../Consoles/Nintendo/3DS/Encore.IMemoryDomains.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/3DS/Encore.IMemoryDomains.cs b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/3DS/Encore.IMemoryDomains.cs index 206718dcfb..31e14a48d7 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/3DS/Encore.IMemoryDomains.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/3DS/Encore.IMemoryDomains.cs @@ -234,7 +234,7 @@ public override void BulkPeekUshort(Range addresses, bool bigEndian, ushor BulkPeekByte((uint)addresses.Start, MemoryMarshal.AsBytes(values.AsSpan())); - if (!bigEndian) + if (bigEndian) { for (var i = 0; i < values.Length; i++) { @@ -262,7 +262,7 @@ public override void BulkPeekUint(Range addresses, bool bigEndian, uint[] BulkPeekByte((uint)addresses.Start, MemoryMarshal.AsBytes(values.AsSpan())); - if (!bigEndian) + if (bigEndian) { for (var i = 0; i < values.Length; i++) {