summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/am.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-11-23 03:02:57 +0100
committerZach Hilman <zachhilman@gmail.com>2018-12-03 23:26:27 +0100
commit60b59d554d20c4f02036f254604835c62a7f282f (patch)
tree95d6d76401b3b5f11317a2779a56201330f76fa9 /src/core/hle/service/am/am.cpp
parentapplets: Implement ProfileSelect applet (diff)
downloadyuzu-60b59d554d20c4f02036f254604835c62a7f282f.tar
yuzu-60b59d554d20c4f02036f254604835c62a7f282f.tar.gz
yuzu-60b59d554d20c4f02036f254604835c62a7f282f.tar.bz2
yuzu-60b59d554d20c4f02036f254604835c62a7f282f.tar.lz
yuzu-60b59d554d20c4f02036f254604835c62a7f282f.tar.xz
yuzu-60b59d554d20c4f02036f254604835c62a7f282f.tar.zst
yuzu-60b59d554d20c4f02036f254604835c62a7f282f.zip
Diffstat (limited to 'src/core/hle/service/am/am.cpp')
-rw-r--r--src/core/hle/service/am/am.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index 3a7b6da84..1a15d85cb 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -19,6 +19,7 @@
#include "core/hle/service/am/applet_ae.h"
#include "core/hle/service/am/applet_oe.h"
#include "core/hle/service/am/applets/applets.h"
+#include "core/hle/service/am/applets/profile_select.h"
#include "core/hle/service/am/applets/software_keyboard.h"
#include "core/hle/service/am/applets/stub_applet.h"
#include "core/hle/service/am/idle.h"
@@ -39,6 +40,7 @@ constexpr ResultCode ERR_NO_DATA_IN_CHANNEL{ErrorModule::AM, 0x2};
constexpr ResultCode ERR_SIZE_OUT_OF_BOUNDS{ErrorModule::AM, 0x1F7};
enum class AppletId : u32 {
+ ProfileSelect = 0x10,
SoftwareKeyboard = 0x11,
};
@@ -773,6 +775,8 @@ ILibraryAppletCreator::~ILibraryAppletCreator() = default;
static std::shared_ptr<Applets::Applet> GetAppletFromId(AppletId id) {
switch (id) {
+ case AppletId::ProfileSelect:
+ return std::make_shared<Applets::ProfileSelect>();
case AppletId::SoftwareKeyboard:
return std::make_shared<Applets::SoftwareKeyboard>();
default: