|
|
@ -6,7 +6,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <string>
|
|
|
|
#include "common/common_types.h"
|
|
|
|
#include "common/common_types.h"
|
|
|
|
#include "common/file_util.h"
|
|
|
|
|
|
|
|
#include "core/hle/kernel/kernel.h"
|
|
|
|
#include "core/hle/kernel/kernel.h"
|
|
|
|
#include "core/loader/linker.h"
|
|
|
|
#include "core/loader/linker.h"
|
|
|
|
#include "core/loader/loader.h"
|
|
|
|
#include "core/loader/loader.h"
|
|
|
@ -16,8 +15,7 @@ namespace Loader {
|
|
|
|
/// Loads an NRO file
|
|
|
|
/// Loads an NRO file
|
|
|
|
class AppLoader_NRO final : public AppLoader, Linker {
|
|
|
|
class AppLoader_NRO final : public AppLoader, Linker {
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
AppLoader_NRO(FileUtil::IOFile&& file, std::string filepath)
|
|
|
|
AppLoader_NRO(FileUtil::IOFile&& file, std::string filepath);
|
|
|
|
: AppLoader(std::move(file)), filepath(std::move(filepath)) {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Returns the type of the file
|
|
|
|
* Returns the type of the file
|
|
|
|