From 333651d346db30d6db0f157150d12209ca9120f9 Mon Sep 17 00:00:00 2001 From: Ac_K Date: Fri, 6 Sep 2019 16:58:50 +0200 Subject: Implement Bluetooth, Btm, Hid and Nsd services and calls. (#761) - Implement `btdrv` service (IBluetoothDriver). Implement call `InitializeBluetoothLe` for initialize events of `bt` service according to RE. - Implement `bt` service (IBluetoothUser). Implement call `RegisterBleEvent` according to RE. - Add a placeholder for the `btm` service (close #750). - Implement `btm:u` service (IBtmUser) (close #751). Implement call `GetCore` according to RE (close #752). - Implement `IBtmUserCore` and calls `AcquireBleScanEvent`, `AcquireBleConnectionEvent`, `AcquireBleServiceDiscoveryEvent` and `AcquireBleMtuConfigEvent` according to RE. - Implement `SetPalmaBoostMode` in `IHidServer` according to RE. - Add stub for `SetIsPalmaAllConnectable` in `IHidServer` because we will not support Palma devices soon. - Implement `nsd:a` and `nsd:u` service (IManager) (close #755). Implement call `ResolveEx` according to RE (close #756). Implement calls `GetSettingName`, `GetEnvironmentIdentifier`, `GetDeviceId`, `DeleteSettings`, `Resolve`, `ReadSaveDataFromFsForTest`, `WriteSaveDataToFsForTest` and `DeleteSaveDataOfFsForTest` according to RE. --- Ryujinx.HLE/HOS/Services/Btm/ResultCode.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Ryujinx.HLE/HOS/Services/Btm/ResultCode.cs (limited to 'Ryujinx.HLE/HOS/Services/Btm/ResultCode.cs') diff --git a/Ryujinx.HLE/HOS/Services/Btm/ResultCode.cs b/Ryujinx.HLE/HOS/Services/Btm/ResultCode.cs new file mode 100644 index 00000000..b222fdc8 --- /dev/null +++ b/Ryujinx.HLE/HOS/Services/Btm/ResultCode.cs @@ -0,0 +1,10 @@ +namespace Ryujinx.HLE.HOS.Services.Btm +{ + enum ResultCode + { + ModuleId = 143, + ErrorCodeShift = 9, + + Success = 0 + } +} \ No newline at end of file -- cgit v1.2.3