summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/applet_common_functions.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-01-03 00:29:03 +0100
committerLiam <byteslice@airmail.cc>2024-01-30 02:17:33 +0100
commit182137a9a4b09c8188d2cbffa312550c5dc83641 (patch)
treeaf62d2ecf774e7790c227cb0984e5392deca5afe /src/core/hle/service/am/applet_common_functions.h
parentam: retrieve main applet creation info from frontend (diff)
downloadyuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.tar
yuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.tar.gz
yuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.tar.bz2
yuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.tar.lz
yuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.tar.xz
yuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.tar.zst
yuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/am/applet_common_functions.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/hle/service/am/applet_common_functions.h b/src/core/hle/service/am/applet_common_functions.h
index be87b3820..229555669 100644
--- a/src/core/hle/service/am/applet_common_functions.h
+++ b/src/core/hle/service/am/applet_common_functions.h
@@ -7,13 +7,17 @@
namespace Service::AM {
+struct Applet;
+
class IAppletCommonFunctions final : public ServiceFramework<IAppletCommonFunctions> {
public:
- explicit IAppletCommonFunctions(Core::System& system_);
+ explicit IAppletCommonFunctions(Core::System& system_, std::shared_ptr<Applet> applet_);
~IAppletCommonFunctions() override;
private:
void SetCpuBoostRequestPriority(HLERequestContext& ctx);
+
+ const std::shared_ptr<Applet> applet;
};
} // namespace Service::AM