1 2 3 4 5 6 7
namespace Ryujinx.HLE.OsHle.Utilities { static class EndianSwap { public static short Swap16(short Value) => (short)(((Value >> 8) & 0xff) | (Value << 8)); } }