mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-16 00:30:05 +00:00
am: Use ProfileSelect applet
This commit is contained in:
parent
4fb59fdfe1
commit
60b59d554d
@ -19,6 +19,7 @@
|
|||||||
#include "core/hle/service/am/applet_ae.h"
|
#include "core/hle/service/am/applet_ae.h"
|
||||||
#include "core/hle/service/am/applet_oe.h"
|
#include "core/hle/service/am/applet_oe.h"
|
||||||
#include "core/hle/service/am/applets/applets.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/software_keyboard.h"
|
||||||
#include "core/hle/service/am/applets/stub_applet.h"
|
#include "core/hle/service/am/applets/stub_applet.h"
|
||||||
#include "core/hle/service/am/idle.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};
|
constexpr ResultCode ERR_SIZE_OUT_OF_BOUNDS{ErrorModule::AM, 0x1F7};
|
||||||
|
|
||||||
enum class AppletId : u32 {
|
enum class AppletId : u32 {
|
||||||
|
ProfileSelect = 0x10,
|
||||||
SoftwareKeyboard = 0x11,
|
SoftwareKeyboard = 0x11,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -773,6 +775,8 @@ ILibraryAppletCreator::~ILibraryAppletCreator() = default;
|
|||||||
|
|
||||||
static std::shared_ptr<Applets::Applet> GetAppletFromId(AppletId id) {
|
static std::shared_ptr<Applets::Applet> GetAppletFromId(AppletId id) {
|
||||||
switch (id) {
|
switch (id) {
|
||||||
|
case AppletId::ProfileSelect:
|
||||||
|
return std::make_shared<Applets::ProfileSelect>();
|
||||||
case AppletId::SoftwareKeyboard:
|
case AppletId::SoftwareKeyboard:
|
||||||
return std::make_shared<Applets::SoftwareKeyboard>();
|
return std::make_shared<Applets::SoftwareKeyboard>();
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user