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 696b61b9c3
commit db5b2c0f0f
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