diff options
author | bunnei <bunneidev@gmail.com> | 2021-10-05 02:20:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 02:20:46 +0200 |
commit | b8694399693c13e04c049b474354c8efef1874ee (patch) | |
tree | 81aa763477da33921ac1047ae0dc9a363dc43e3a /src/core/hle/service/am/applets/applets.h | |
parent | Merge pull request #7101 from ameerj/vk-tess-topology (diff) | |
parent | service: Replace service event creation with ServiceContext::CreateEvent (diff) | |
download | yuzu-b8694399693c13e04c049b474354c8efef1874ee.tar yuzu-b8694399693c13e04c049b474354c8efef1874ee.tar.gz yuzu-b8694399693c13e04c049b474354c8efef1874ee.tar.bz2 yuzu-b8694399693c13e04c049b474354c8efef1874ee.tar.lz yuzu-b8694399693c13e04c049b474354c8efef1874ee.tar.xz yuzu-b8694399693c13e04c049b474354c8efef1874ee.tar.zst yuzu-b8694399693c13e04c049b474354c8efef1874ee.zip |
Diffstat (limited to 'src/core/hle/service/am/applets/applets.h')
-rw-r--r-- | src/core/hle/service/am/applets/applets.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/hle/service/am/applets/applets.h b/src/core/hle/service/am/applets/applets.h index 5c0b4b459..15eeb4ee1 100644 --- a/src/core/hle/service/am/applets/applets.h +++ b/src/core/hle/service/am/applets/applets.h @@ -8,7 +8,7 @@ #include <queue> #include "common/swap.h" -#include "core/hle/kernel/k_event.h" +#include "core/hle/service/kernel_helpers.h" union ResultCode; @@ -105,6 +105,8 @@ private: Core::System& system; LibraryAppletMode applet_mode; + KernelHelpers::ServiceContext service_context; + // Queues are named from applet's perspective // PopNormalDataToApplet and PushNormalDataFromGame @@ -119,13 +121,13 @@ private: // PopInteractiveDataToGame and PushInteractiveDataFromApplet std::deque<std::shared_ptr<IStorage>> out_interactive_channel; - Kernel::KEvent state_changed_event; + Kernel::KEvent* state_changed_event; // Signaled on PushNormalDataFromApplet - Kernel::KEvent pop_out_data_event; + Kernel::KEvent* pop_out_data_event; // Signaled on PushInteractiveDataFromApplet - Kernel::KEvent pop_interactive_out_data_event; + Kernel::KEvent* pop_interactive_out_data_event; }; class Applet { |