Implement basic psm service (#467)

* Implement basic psm service

- Add `IPsmServer`
- Stub `GetBatteryChargePercentage` & `GetChargerType`

* Fix wrong sorting

* Add IPsmSession

- Add `IPsmSession` by Thog
- Implement `OpenSession`
This commit is contained in:
Ac_K 2018-10-21 06:01:22 +00:00 committed by gdkchan
parent b5f7d8106b
commit 7920dc1d2f
4 changed files with 161 additions and 0 deletions

View file

@ -16,6 +16,7 @@ using Ryujinx.HLE.HOS.Services.Nv;
using Ryujinx.HLE.HOS.Services.Pctl;
using Ryujinx.HLE.HOS.Services.Pl;
using Ryujinx.HLE.HOS.Services.Prepo;
using Ryujinx.HLE.HOS.Services.Psm;
using Ryujinx.HLE.HOS.Services.Set;
using Ryujinx.HLE.HOS.Services.Sfdnsres;
using Ryujinx.HLE.HOS.Services.Sm;
@ -152,6 +153,9 @@ namespace Ryujinx.HLE.HOS.Services
case "prepo:u":
return new IPrepoService();
case "psm":
return new IPsmServer();
case "set":
return new ISettingsServer();