VERY experimental Nintendo Switch 2 emulator
C++
am: Use ProfileSelect applet
Zach Hilmanadb047e6fa0f
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cppindex 3a7b6da846..1a15d85cb0 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: