mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-12 10:42:33 -07:00
Implement BSD Service (#54)
* Implement BSD Service - Implementation of bsd:s & bsd:u. - Adding an EndianSwap class. * Corrections #1 * Correction2
This commit is contained in:
7
Ryujinx.Core/OsHle/Utilities/EndianSwap.cs
Normal file
7
Ryujinx.Core/OsHle/Utilities/EndianSwap.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Ryujinx.Core.OsHle.Utilities
|
||||
{
|
||||
static class EndianSwap
|
||||
{
|
||||
public static short Swap16(short Value) => (short)(((Value >> 8) & 0xff) | (Value << 8));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user