Add vi:u and vi:s to service list and fix the result parcel type of OpenLayer

vi:u is used by user applications and games and it has the same api as
vi:m.
This commit is contained in:
Billy Laws 2020-07-05 13:20:27 +01:00 committed by ◱ PixelyIon
parent 9ef25a6beb
commit a96b8eb7a3
2 changed files with 3 additions and 1 deletions

View File

@ -93,6 +93,8 @@ namespace skyline::service {
{"nvdrv:s", Service::nvdrv_INvDrvServices},
{"nvdrv:t", Service::nvdrv_INvDrvServices},
{"vi:m", Service::visrv_IManagerRootService},
{"vi:u", Service::visrv_IManagerRootService},
{"vi:s", Service::visrv_IManagerRootService},
{"pl:u", Service::pl_IPlatformServiceManager},
{"aoc:u", Service::aocsrv_IAddOnContentManager},
{"pctl", Service::pctl_IParentalControlServiceFactory},

View File

@ -65,7 +65,7 @@ namespace skyline::service::visrv {
Parcel parcel(state);
LayerParcel data{
.type = 0x20,
.type = 0x2,
.pid = 0,
.bufferId = 0, // As we only have one layer and buffer
.string = "dispdrv"