diff options
author | Subv <subv2112@gmail.com> | 2015-12-04 22:05:23 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-03-12 16:59:37 +0100 |
commit | 0f8be2d2cc54feda0a52ec8f9633fd022879816a (patch) | |
tree | 18a0fa35a23a773be265cb8ff2f6c8df1e8ce9b1 /src/core/hle/applets/applet.cpp | |
parent | Merge pull request #1261 from yuriks/tev-buffer-delay (diff) | |
download | yuzu-0f8be2d2cc54feda0a52ec8f9633fd022879816a.tar yuzu-0f8be2d2cc54feda0a52ec8f9633fd022879816a.tar.gz yuzu-0f8be2d2cc54feda0a52ec8f9633fd022879816a.tar.bz2 yuzu-0f8be2d2cc54feda0a52ec8f9633fd022879816a.tar.lz yuzu-0f8be2d2cc54feda0a52ec8f9633fd022879816a.tar.xz yuzu-0f8be2d2cc54feda0a52ec8f9633fd022879816a.tar.zst yuzu-0f8be2d2cc54feda0a52ec8f9633fd022879816a.zip |
Diffstat (limited to 'src/core/hle/applets/applet.cpp')
-rw-r--r-- | src/core/hle/applets/applet.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/applets/applet.cpp b/src/core/hle/applets/applet.cpp index bc2a1829e..90e134437 100644 --- a/src/core/hle/applets/applet.cpp +++ b/src/core/hle/applets/applet.cpp @@ -12,6 +12,7 @@ #include "core/core_timing.h" #include "core/hle/applets/applet.h" +#include "core/hle/applets/mii_selector.h" #include "core/hle/applets/swkbd.h" #include "core/hle/result.h" #include "core/hle/service/apt/apt.h" @@ -47,7 +48,12 @@ ResultCode Applet::Create(Service::APT::AppletId id) { case Service::APT::AppletId::SoftwareKeyboard2: applets[id] = std::make_shared<SoftwareKeyboard>(id); break; + case Service::APT::AppletId::Ed1: + case Service::APT::AppletId::Ed2: + applets[id] = std::make_shared<MiiSelector>(id); + break; default: + LOG_ERROR(Service_APT, "Could not create applet %u", id); // TODO(Subv): Find the right error code return ResultCode(ErrorDescription::NotFound, ErrorModule::Applet, ErrorSummary::NotSupported, ErrorLevel::Permanent); } |