am: Return StubApplet instead of nullptr when AppletId not found

This commit is contained in:
Zach Hilman
2018-11-22 15:58:00 -05:00
parent 699900eed0
commit f820e58be4
3 changed files with 11 additions and 11 deletions

View File

@@ -2,7 +2,12 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <string>
#include "common/hex_util.h"
#include "common/logging/log.h"
#include "core/hle/result.h"
#include "core/hle/service/am/am.h"
#include "core/hle/service/am/applets/stub_applet.h"
namespace Service::AM::Applets {

View File

@@ -4,13 +4,6 @@
#pragma once
#include <array>
#include <string>
#include <vector>
#include "common/common_funcs.h"
#include "common/swap.h"
#include "core/hle/service/am/am.h"
#include "core/hle/service/am/applets/applets.h"
namespace Service::AM::Applets {