summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Zach Hilman2018-11-22 21:02:57 -0500
committerGravatar Zach Hilman2018-12-03 17:26:27 -0500
commit60b59d554d20c4f02036f254604835c62a7f282f (patch)
tree95d6d76401b3b5f11317a2779a56201330f76fa9 /src/core
parentapplets: Implement ProfileSelect applet (diff)
downloadyuzu-60b59d554d20c4f02036f254604835c62a7f282f.tar.gz
yuzu-60b59d554d20c4f02036f254604835c62a7f282f.tar.xz
yuzu-60b59d554d20c4f02036f254604835c62a7f282f.zip
am: Use ProfileSelect applet
Diffstat (limited to 'src/core')
-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 @@
19#include "core/hle/service/am/applet_ae.h" 19#include "core/hle/service/am/applet_ae.h"
20#include "core/hle/service/am/applet_oe.h" 20#include "core/hle/service/am/applet_oe.h"
21#include "core/hle/service/am/applets/applets.h" 21#include "core/hle/service/am/applets/applets.h"
22#include "core/hle/service/am/applets/profile_select.h"
22#include "core/hle/service/am/applets/software_keyboard.h" 23#include "core/hle/service/am/applets/software_keyboard.h"
23#include "core/hle/service/am/applets/stub_applet.h" 24#include "core/hle/service/am/applets/stub_applet.h"
24#include "core/hle/service/am/idle.h" 25#include "core/hle/service/am/idle.h"
@@ -39,6 +40,7 @@ constexpr ResultCode ERR_NO_DATA_IN_CHANNEL{ErrorModule::AM, 0x2};
39constexpr ResultCode ERR_SIZE_OUT_OF_BOUNDS{ErrorModule::AM, 0x1F7}; 40constexpr ResultCode ERR_SIZE_OUT_OF_BOUNDS{ErrorModule::AM, 0x1F7};
40 41
41enum class AppletId : u32 { 42enum class AppletId : u32 {
43 ProfileSelect = 0x10,
42 SoftwareKeyboard = 0x11, 44 SoftwareKeyboard = 0x11,
43}; 45};
44 46
@@ -773,6 +775,8 @@ ILibraryAppletCreator::~ILibraryAppletCreator() = default;
773 775
774static std::shared_ptr<Applets::Applet> GetAppletFromId(AppletId id) { 776static std::shared_ptr<Applets::Applet> GetAppletFromId(AppletId id) {
775 switch (id) { 777 switch (id) {
778 case AppletId::ProfileSelect:
779 return std::make_shared<Applets::ProfileSelect>();
776 case AppletId::SoftwareKeyboard: 780 case AppletId::SoftwareKeyboard:
777 return std::make_shared<Applets::SoftwareKeyboard>(); 781 return std::make_shared<Applets::SoftwareKeyboard>();
778 default: 782 default: