diff options
author | Lioncash <mathew1800@gmail.com> | 2019-03-19 20:45:55 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-03-19 21:31:59 -0400 |
commit | ab00552118eeba8330362a54ab8748916b5a5c65 (patch) | |
tree | 74e48c8b16e9a979a1bfcae22239411bb6f7fc79 /src/core/loader/nso.h | |
parent | 746167f11a8fd025d6b2d70fe5129143f97af91d (diff) |
loader: Remove Linker inheritance from NRO and NSO loaders
Neither the NRO or NSO loaders actually make use of the functions or
members provided by the Linker interface, so we can just remove the
inheritance altogether.
Diffstat (limited to 'src/core/loader/nso.h')
-rw-r--r-- | src/core/loader/nso.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/loader/nso.h b/src/core/loader/nso.h index 135b6ea5a..167c8a694 100644 --- a/src/core/loader/nso.h +++ b/src/core/loader/nso.h @@ -6,8 +6,8 @@ #include <optional> #include "common/common_types.h" +#include "common/swap.h" #include "core/file_sys/patch_manager.h" -#include "core/loader/linker.h" #include "core/loader/loader.h" namespace Kernel { @@ -26,7 +26,7 @@ struct NSOArgumentHeader { static_assert(sizeof(NSOArgumentHeader) == 0x20, "NSOArgumentHeader has incorrect size."); /// Loads an NSO file -class AppLoader_NSO final : public AppLoader, Linker { +class AppLoader_NSO final : public AppLoader { public: explicit AppLoader_NSO(FileSys::VirtualFile file); |