summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/am.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-07-11 19:02:29 +0200
committerLioncash <mathew1800@gmail.com>2019-07-11 19:09:03 +0200
commitb81f6f67f50f5fd5416ca5b54f1e32536c7ece7d (patch)
tree913fec5c332f6baac3a1d831724727117a77f90f /src/core/hle/service/am/am.h
parentMerge pull request #2714 from DarkLordZach/repo-sync-pipeline (diff)
downloadyuzu-b81f6f67f50f5fd5416ca5b54f1e32536c7ece7d.tar
yuzu-b81f6f67f50f5fd5416ca5b54f1e32536c7ece7d.tar.gz
yuzu-b81f6f67f50f5fd5416ca5b54f1e32536c7ece7d.tar.bz2
yuzu-b81f6f67f50f5fd5416ca5b54f1e32536c7ece7d.tar.lz
yuzu-b81f6f67f50f5fd5416ca5b54f1e32536c7ece7d.tar.xz
yuzu-b81f6f67f50f5fd5416ca5b54f1e32536c7ece7d.tar.zst
yuzu-b81f6f67f50f5fd5416ca5b54f1e32536c7ece7d.zip
Diffstat (limited to 'src/core/hle/service/am/am.h')
-rw-r--r--src/core/hle/service/am/am.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/am/am.h b/src/core/hle/service/am/am.h
index 14b010164..0788e2dc0 100644
--- a/src/core/hle/service/am/am.h
+++ b/src/core/hle/service/am/am.h
@@ -133,6 +133,7 @@ private:
void SetHandlesRequestToDisplay(Kernel::HLERequestContext& ctx);
void SetIdleTimeDetectionExtension(Kernel::HLERequestContext& ctx);
void GetIdleTimeDetectionExtension(Kernel::HLERequestContext& ctx);
+ void SetAutoSleepDisabled(Kernel::HLERequestContext& ctx);
void GetAccumulatedSuspendedTickValue(Kernel::HLERequestContext& ctx);
void GetAccumulatedSuspendedTickChangedEvent(Kernel::HLERequestContext& ctx);
@@ -142,6 +143,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> {