EndianSwap.cs 184 B

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