diff options
| author | 2018-11-22 21:02:57 -0500 | |
|---|---|---|
| committer | 2018-12-03 17:26:27 -0500 | |
| commit | 60b59d554d20c4f02036f254604835c62a7f282f (patch) | |
| tree | 95d6d76401b3b5f11317a2779a56201330f76fa9 /src/core | |
| parent | applets: Implement ProfileSelect applet (diff) | |
| download | yuzu-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.cpp | 4 |
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}; | |||
| 39 | constexpr ResultCode ERR_SIZE_OUT_OF_BOUNDS{ErrorModule::AM, 0x1F7}; | 40 | constexpr ResultCode ERR_SIZE_OUT_OF_BOUNDS{ErrorModule::AM, 0x1F7}; |
| 40 | 41 | ||
| 41 | enum class AppletId : u32 { | 42 | enum 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 | ||
| 774 | static std::shared_ptr<Applets::Applet> GetAppletFromId(AppletId id) { | 776 | static 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: |