HLE/Applets: Stub Mint (eShop) Applet (#2463)

This allows Phoenix Wright - Dual Destinies to boot.
This commit is contained in:
mailwl 2017-01-31 12:16:58 +03:00 committed by Yuri Kunde Schlesner
parent 0b9c59ff22
commit d0bf7df5ba
4 changed files with 108 additions and 0 deletions

View file

@ -12,6 +12,7 @@
#include "core/hle/applets/applet.h"
#include "core/hle/applets/erreula.h"
#include "core/hle/applets/mii_selector.h"
#include "core/hle/applets/mint.h"
#include "core/hle/applets/swkbd.h"
#include "core/hle/result.h"
#include "core/hle/service/apt/apt.h"
@ -56,6 +57,10 @@ ResultCode Applet::Create(Service::APT::AppletId id) {
case Service::APT::AppletId::Error2:
applets[id] = std::make_shared<ErrEula>(id);
break;
case Service::APT::AppletId::Mint:
case Service::APT::AppletId::Mint2:
applets[id] = std::make_shared<Mint>(id);
break;
default:
LOG_ERROR(Service_APT, "Could not create applet %u", id);
// TODO(Subv): Find the right error code