summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMichael Scire <SciresM@gmail.com>2019-07-06 22:52:05 +0200
committerMichael Scire <SciresM@gmail.com>2019-07-06 22:52:05 +0200
commit36259c01c2f18ee43a5b444908e087366890e775 (patch)
tree55050d98f0bdb252d61d639d9d7e2fc5519035ed /src/core
parentam: Implement GetAccumulatedSuspendedTickValue (diff)
downloadyuzu-36259c01c2f18ee43a5b444908e087366890e775.tar
yuzu-36259c01c2f18ee43a5b444908e087366890e775.tar.gz
yuzu-36259c01c2f18ee43a5b444908e087366890e775.tar.bz2
yuzu-36259c01c2f18ee43a5b444908e087366890e775.tar.lz
yuzu-36259c01c2f18ee43a5b444908e087366890e775.tar.xz
yuzu-36259c01c2f18ee43a5b444908e087366890e775.tar.zst
yuzu-36259c01c2f18ee43a5b444908e087366890e775.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/am/am.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index aef494476..eced38001 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -283,10 +283,11 @@ ISelfController::ISelfController(std::shared_ptr<NVFlinger::NVFlinger> nvflinger
launchable_event = Kernel::WritableEvent::CreateEventPair(kernel, Kernel::ResetType::Manual,
"ISelfController:LaunchableEvent");
- // This event is created by AM on the first time GetAccumulatedSuspendedTickChangedEvent() is called.
- // Yuzu can just create it unconditionally, since it doesn't need to support multiple ISelfControllers.
- // The event is signaled on creation, and on transition from suspended -> not suspended if the event has
- // previously been created by a call to GetAccumulatedSuspendedTickChangedEvent.
+ // This event is created by AM on the first time GetAccumulatedSuspendedTickChangedEvent() is
+ // called. Yuzu can just create it unconditionally, since it doesn't need to support multiple
+ // ISelfControllers. The event is signaled on creation, and on transition from suspended -> not
+ // suspended if the event has previously been created by a call to
+ // GetAccumulatedSuspendedTickChangedEvent.
accumulated_suspended_tick_changed_event = Kernel::WritableEvent::CreateEventPair(
kernel, Kernel::ResetType::Manual, "ISelfController:AccumulatedSuspendedTickChangedEvent");
accumulated_suspended_tick_changed_event.writable->Signal();