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:
Ac_K 2018-03-12 02:05:39 +01:00 committed by gdkchan
parent d11a379678
commit e38d20eeb0
3 changed files with 423 additions and 19 deletions

View 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));
}
}