diff options
author | Liam <byteslice@airmail.cc> | 2022-10-13 02:26:04 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-10-13 02:29:29 +0200 |
commit | a9ace6856de57f1124daaa77aacd6f36a64c68f7 (patch) | |
tree | acf105c0e57d62889e2ebf88b463a7ebf7adc0b4 /src/core/hle/service/am/am.cpp | |
parent | Merge pull request #9027 from yuzu-emu/revert-8987-another-name-for-reinforcement-steel (diff) | |
download | yuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.tar yuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.tar.gz yuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.tar.bz2 yuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.tar.lz yuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.tar.xz yuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.tar.zst yuzu-a9ace6856de57f1124daaa77aacd6f36a64c68f7.zip |
Diffstat (limited to 'src/core/hle/service/am/am.cpp')
-rw-r--r-- | src/core/hle/service/am/am.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index 6fb7e198e..e55233054 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp @@ -316,7 +316,7 @@ ISelfController::ISelfController(Core::System& system_, NVFlinger::NVFlinger& nv accumulated_suspended_tick_changed_event = service_context.CreateEvent("ISelfController:AccumulatedSuspendedTickChangedEvent"); - accumulated_suspended_tick_changed_event->GetWritableEvent().Signal(); + accumulated_suspended_tick_changed_event->Signal(); } ISelfController::~ISelfController() { @@ -378,7 +378,7 @@ void ISelfController::LeaveFatalSection(Kernel::HLERequestContext& ctx) { void ISelfController::GetLibraryAppletLaunchableEvent(Kernel::HLERequestContext& ctx) { LOG_WARNING(Service_AM, "(STUBBED) called"); - launchable_event->GetWritableEvent().Signal(); + launchable_event->Signal(); IPC::ResponseBuilder rb{ctx, 2, 1}; rb.Push(ResultSuccess); @@ -618,18 +618,18 @@ Kernel::KReadableEvent& AppletMessageQueue::GetOperationModeChangedEvent() { void AppletMessageQueue::PushMessage(AppletMessage msg) { messages.push(msg); - on_new_message->GetWritableEvent().Signal(); + on_new_message->Signal(); } AppletMessageQueue::AppletMessage AppletMessageQueue::PopMessage() { if (messages.empty()) { - on_new_message->GetWritableEvent().Clear(); + on_new_message->Clear(); return AppletMessage::None; } auto msg = messages.front(); messages.pop(); if (messages.empty()) { - on_new_message->GetWritableEvent().Clear(); + on_new_message->Clear(); } return msg; } @@ -653,7 +653,7 @@ void AppletMessageQueue::FocusStateChanged() { void AppletMessageQueue::OperationModeChanged() { PushMessage(AppletMessage::OperationModeChanged); PushMessage(AppletMessage::PerformanceModeChanged); - on_operation_mode_changed->GetWritableEvent().Signal(); + on_operation_mode_changed->Signal(); } ICommonStateGetter::ICommonStateGetter(Core::System& system_, |