|
|
@ -6,17 +6,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <string>
|
|
|
|
#include "common/common_types.h"
|
|
|
|
#include "common/common_types.h"
|
|
|
|
#include "core/file_sys/control_metadata.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"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace FileSys {
|
|
|
|
|
|
|
|
class NACP;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
namespace Loader {
|
|
|
|
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:
|
|
|
|
explicit AppLoader_NRO(FileSys::VirtualFile file);
|
|
|
|
explicit AppLoader_NRO(FileSys::VirtualFile file);
|
|
|
|
|
|
|
|
~AppLoader_NRO() override;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Returns the type of the file
|
|
|
|
* Returns the type of the file
|
|
|
|