From f820e58be4532d7c845c828ba6ec609a5b277723 Mon Sep 17 00:00:00 2001 From: Zach Hilman Date: Thu, 22 Nov 2018 15:58:00 -0500 Subject: am: Return StubApplet instead of nullptr when AppletId not found --- src/core/hle/service/am/applets/stub_applet.cpp | 5 +++++ src/core/hle/service/am/applets/stub_applet.h | 7 ------- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'src/core/hle/service/am/applets') diff --git a/src/core/hle/service/am/applets/stub_applet.cpp b/src/core/hle/service/am/applets/stub_applet.cpp index c9bd3d973..ed166b87d 100644 --- a/src/core/hle/service/am/applets/stub_applet.cpp +++ b/src/core/hle/service/am/applets/stub_applet.cpp @@ -2,7 +2,12 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. +#include + #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 { diff --git a/src/core/hle/service/am/applets/stub_applet.h b/src/core/hle/service/am/applets/stub_applet.h index 41add5fe6..7d8dc968d 100644 --- a/src/core/hle/service/am/applets/stub_applet.h +++ b/src/core/hle/service/am/applets/stub_applet.h @@ -4,13 +4,6 @@ #pragma once -#include -#include -#include - -#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 { -- cgit v1.2.3