mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-16 01:55:27 +00:00
333651d346
- 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.
19 lines
707 B
C#
19 lines
707 B
C#
namespace Ryujinx.HLE.HOS.Services.Nsd
|
|
{
|
|
enum ResultCode
|
|
{
|
|
ModuleId = 141,
|
|
ErrorCodeShift = 9,
|
|
|
|
Success = 0,
|
|
|
|
NotImplemented = ( 1 << ErrorCodeShift) | ModuleId,
|
|
InvalidObject1 = ( 3 << ErrorCodeShift) | ModuleId,
|
|
InvalidObject2 = ( 4 << ErrorCodeShift) | ModuleId,
|
|
NullOutputObject = ( 5 << ErrorCodeShift) | ModuleId,
|
|
SettingsNotLoaded = ( 6 << ErrorCodeShift) | ModuleId,
|
|
InvalidArgument = ( 8 << ErrorCodeShift) | ModuleId,
|
|
SettingsNotInitialized = ( 10 << ErrorCodeShift) | ModuleId,
|
|
ServiceNotInitialized = (400 << ErrorCodeShift) | ModuleId,
|
|
}
|
|
} |