AppletOE: Make ISelfController keep a reference to nvflinger.

It'll be needed when we implement CreateManagedDisplayLayer.
This commit is contained in:
Subv
2018-01-22 13:46:36 -05:00
parent 42859461f3
commit eb58f852f8
5 changed files with 32 additions and 10 deletions

View File

@ -8,8 +8,9 @@
namespace Service {
namespace AM {
void InstallInterfaces(SM::ServiceManager& service_manager) {
std::make_shared<AppletOE>()->InstallAsService(service_manager);
void InstallInterfaces(SM::ServiceManager& service_manager,
std::shared_ptr<NVFlinger::NVFlinger> nvflinger) {
std::make_shared<AppletOE>(nvflinger)->InstallAsService(service_manager);
}
} // namespace AM