summaryrefslogtreecommitdiff
path: root/src/core/hle/applets/applet.cpp
diff options
context:
space:
mode:
authorGravatar mailwl2017-01-31 12:16:58 +0300
committerGravatar Yuri Kunde Schlesner2017-01-31 01:16:58 -0800
commitd0bf7df5ba11f19314b5b08d264de79bce691a45 (patch)
tree2cec2e627b7e510084c3200ddc230cf347d3aa2b /src/core/hle/applets/applet.cpp
parentCommon/x64: remove legacy emitter and abi (#2504) (diff)
downloadyuzu-d0bf7df5ba11f19314b5b08d264de79bce691a45.tar.gz
yuzu-d0bf7df5ba11f19314b5b08d264de79bce691a45.tar.xz
yuzu-d0bf7df5ba11f19314b5b08d264de79bce691a45.zip
HLE/Applets: Stub Mint (eShop) Applet (#2463)
This allows Phoenix Wright - Dual Destinies to boot.
Diffstat (limited to 'src/core/hle/applets/applet.cpp')
-rw-r--r--src/core/hle/applets/applet.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/applets/applet.cpp b/src/core/hle/applets/applet.cpp
index 645b2d5fe..9c43ed2fd 100644
--- a/src/core/hle/applets/applet.cpp
+++ b/src/core/hle/applets/applet.cpp
@@ -12,6 +12,7 @@
12#include "core/hle/applets/applet.h" 12#include "core/hle/applets/applet.h"
13#include "core/hle/applets/erreula.h" 13#include "core/hle/applets/erreula.h"
14#include "core/hle/applets/mii_selector.h" 14#include "core/hle/applets/mii_selector.h"
15#include "core/hle/applets/mint.h"
15#include "core/hle/applets/swkbd.h" 16#include "core/hle/applets/swkbd.h"
16#include "core/hle/result.h" 17#include "core/hle/result.h"
17#include "core/hle/service/apt/apt.h" 18#include "core/hle/service/apt/apt.h"
@@ -56,6 +57,10 @@ ResultCode Applet::Create(Service::APT::AppletId id) {
56 case Service::APT::AppletId::Error2: 57 case Service::APT::AppletId::Error2:
57 applets[id] = std::make_shared<ErrEula>(id); 58 applets[id] = std::make_shared<ErrEula>(id);
58 break; 59 break;
60 case Service::APT::AppletId::Mint:
61 case Service::APT::AppletId::Mint2:
62 applets[id] = std::make_shared<Mint>(id);
63 break;
59 default: 64 default:
60 LOG_ERROR(Service_APT, "Could not create applet %u", id); 65 LOG_ERROR(Service_APT, "Could not create applet %u", id);
61 // TODO(Subv): Find the right error code 66 // TODO(Subv): Find the right error code