Implement SetIdleTimeDetectionExtension & GetIdleTimeDetectionExtension (#1059)

* Used by Mario Tennis Aces
This commit is contained in:
greggameplayer
2018-08-17 06:23:08 +02:00
committed by bunnei
parent f246fd778d
commit 2003771789
2 changed files with 22 additions and 2 deletions

View File

@ -87,9 +87,12 @@ private:
void CreateManagedDisplayLayer(Kernel::HLERequestContext& ctx);
void SetScreenShotPermission(Kernel::HLERequestContext& ctx);
void SetHandlesRequestToDisplay(Kernel::HLERequestContext& ctx);
void SetIdleTimeDetectionExtension(Kernel::HLERequestContext& ctx);
void GetIdleTimeDetectionExtension(Kernel::HLERequestContext& ctx);
std::shared_ptr<NVFlinger::NVFlinger> nvflinger;
Kernel::SharedPtr<Kernel::Event> launchable_event;
u32 idle_time_detection_extension = 0;
};
class ICommonStateGetter final : public ServiceFramework<ICommonStateGetter> {