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:
parent
28275a8976
commit
3aaa4717b6
3 changed files with 423 additions and 19 deletions
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));
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue