summaryrefslogtreecommitdiffstats
path: root/src/core/loader
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-02 16:53:06 +0200
committerLioncash <mathew1800@gmail.com>2018-09-02 18:38:14 +0200
commita40537314405d62baa012836da9bba24ad4b02e5 (patch)
treee713eda9ce20870d7e803989d555e7842eab3415 /src/core/loader
parentMerge pull request #1213 from DarkLordZach/octopath-fs (diff)
downloadyuzu-a40537314405d62baa012836da9bba24ad4b02e5.tar
yuzu-a40537314405d62baa012836da9bba24ad4b02e5.tar.gz
yuzu-a40537314405d62baa012836da9bba24ad4b02e5.tar.bz2
yuzu-a40537314405d62baa012836da9bba24ad4b02e5.tar.lz
yuzu-a40537314405d62baa012836da9bba24ad4b02e5.tar.xz
yuzu-a40537314405d62baa012836da9bba24ad4b02e5.tar.zst
yuzu-a40537314405d62baa012836da9bba24ad4b02e5.zip
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 @@
#include <memory>
#include <ostream>
#include <string>
+#include "common/file_util.h"
#include "common/logging/log.h"
#include "common/string_util.h"
-#include "core/file_sys/vfs_real.h"
#include "core/hle/kernel/process.h"
#include "core/loader/deconstructed_rom_directory.h"
#include "core/loader/elf.h"
@@ -144,6 +144,9 @@ std::ostream& operator<<(std::ostream& os, ResultStatus status) {
return os;
}
+AppLoader::AppLoader(FileSys::VirtualFile file) : file(std::move(file)) {}
+AppLoader::~AppLoader() = default;
+
/**
* Get a loader for a file with a specific type
* @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 @@
#pragma once
-#include <algorithm>
#include <iosfwd>
#include <memory>
#include <string>
@@ -12,7 +11,6 @@
#include <vector>
#include <boost/optional.hpp>
#include "common/common_types.h"
-#include "common/file_util.h"
#include "core/file_sys/vfs.h"
#include "core/hle/kernel/object.h"
@@ -114,8 +112,8 @@ std::ostream& operator<<(std::ostream& os, ResultStatus status);
/// Interface for loading an application
class AppLoader : NonCopyable {
public:
- explicit AppLoader(FileSys::VirtualFile file) : file(std::move(file)) {}
- virtual ~AppLoader() {}
+ explicit AppLoader(FileSys::VirtualFile file);
+ virtual ~AppLoader();
/**
* Returns the type of this file