diff options
author | bunnei <bunneidev@gmail.com> | 2019-07-11 20:56:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-11 20:56:06 +0200 |
commit | 2a94745500ea3fc7634b2118ab3b9ec1cb4f4327 (patch) | |
tree | 0f98a9600bb1545e9cdca1311bf0c3c03783edda /src/core/hle/service/am/am.h | |
parent | Merge pull request #2714 from DarkLordZach/repo-sync-pipeline (diff) | |
parent | service/am: Implement IsAutoSleepDisabled (diff) | |
download | yuzu-2a94745500ea3fc7634b2118ab3b9ec1cb4f4327.tar yuzu-2a94745500ea3fc7634b2118ab3b9ec1cb4f4327.tar.gz yuzu-2a94745500ea3fc7634b2118ab3b9ec1cb4f4327.tar.bz2 yuzu-2a94745500ea3fc7634b2118ab3b9ec1cb4f4327.tar.lz yuzu-2a94745500ea3fc7634b2118ab3b9ec1cb4f4327.tar.xz yuzu-2a94745500ea3fc7634b2118ab3b9ec1cb4f4327.tar.zst yuzu-2a94745500ea3fc7634b2118ab3b9ec1cb4f4327.zip |
Diffstat (limited to 'src/core/hle/service/am/am.h')
-rw-r--r-- | src/core/hle/service/am/am.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/service/am/am.h b/src/core/hle/service/am/am.h index 14b010164..6cb582483 100644 --- a/src/core/hle/service/am/am.h +++ b/src/core/hle/service/am/am.h @@ -133,6 +133,8 @@ private: void SetHandlesRequestToDisplay(Kernel::HLERequestContext& ctx); void SetIdleTimeDetectionExtension(Kernel::HLERequestContext& ctx); void GetIdleTimeDetectionExtension(Kernel::HLERequestContext& ctx); + void SetAutoSleepDisabled(Kernel::HLERequestContext& ctx); + void IsAutoSleepDisabled(Kernel::HLERequestContext& ctx); void GetAccumulatedSuspendedTickValue(Kernel::HLERequestContext& ctx); void GetAccumulatedSuspendedTickChangedEvent(Kernel::HLERequestContext& ctx); @@ -142,6 +144,7 @@ private: u32 idle_time_detection_extension = 0; u64 num_fatal_sections_entered = 0; + bool is_auto_sleep_disabled = false; }; class ICommonStateGetter final : public ServiceFramework<ICommonStateGetter> { |