mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-01 10:39:50 -06: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