summaryrefslogtreecommitdiff
path: root/src/core/loader
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/loader')
-rw-r--r--src/core/loader/loader.cpp5
-rw-r--r--src/core/loader/loader.h6
2 files changed, 6 insertions, 5 deletions
diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp
index c13fb49b8..5980cdb25 100644
--- a/src/core/loader/loader.cpp
+++ b/src/core/loader/loader.cpp
@@ -5,9 +5,9 @@
5#include <memory> 5#include <memory>
6#include <ostream> 6#include <ostream>
7#include <string> 7#include <string>
8#include "common/file_util.h"
8#include "common/logging/log.h" 9#include "common/logging/log.h"
9#include "common/string_util.h" 10#include "common/string_util.h"
10#include "core/file_sys/vfs_real.h"
11#include "core/hle/kernel/process.h" 11#include "core/hle/kernel/process.h"
12#include "core/loader/deconstructed_rom_directory.h" 12#include "core/loader/deconstructed_rom_directory.h"
13#include "core/loader/elf.h" 13#include "core/loader/elf.h"
@@ -144,6 +144,9 @@ std::ostream& operator<<(std::ostream& os, ResultStatus status) {
144 return os; 144 return os;
145} 145}
146 146
147AppLoader::AppLoader(FileSys::VirtualFile file) : file(std::move(file)) {}
148AppLoader::~AppLoader() = default;
149
147/** 150/**
148 * Get a loader for a file with a specific type 151 * Get a loader for a file with a specific type
149 * @param file The file to load 152 * @param file The file to load
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h
index 885fee84c..5a8540b0e 100644
--- a/src/core/loader/loader.h
+++ b/src/core/loader/loader.h
@@ -4,7 +4,6 @@
4 4
5#pragma once 5#pragma once
6 6
7#include <algorithm>
8#include <iosfwd> 7#include <iosfwd>
9#include <memory> 8#include <memory>
10#include <string> 9#include <string>
@@ -12,7 +11,6 @@
12#include <vector> 11#include <vector>
13#include <boost/optional.hpp> 12#include <boost/optional.hpp>
14#include "common/common_types.h" 13#include "common/common_types.h"
15#include "common/file_util.h"
16#include "core/file_sys/vfs.h" 14#include "core/file_sys/vfs.h"
17#include "core/hle/kernel/object.h" 15#include "core/hle/kernel/object.h"
18 16
@@ -114,8 +112,8 @@ std::ostream& operator<<(std::ostream& os, ResultStatus status);
114/// Interface for loading an application 112/// Interface for loading an application
115class AppLoader : NonCopyable { 113class AppLoader : NonCopyable {
116public: 114public:
117 explicit AppLoader(FileSys::VirtualFile file) : file(std::move(file)) {} 115 explicit AppLoader(FileSys::VirtualFile file);
118 virtual ~AppLoader() {} 116 virtual ~AppLoader();
119 117
120 /** 118 /**
121 * Returns the type of this file 119 * Returns the type of this file