summaryrefslogtreecommitdiff
path: root/src/core/loader/loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/loader/loader.h')
-rw-r--r--src/core/loader/loader.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h
index 77d87afe1..9652d7ac5 100644
--- a/src/core/loader/loader.h
+++ b/src/core/loader/loader.h
@@ -9,7 +9,6 @@
9#include <memory> 9#include <memory>
10#include <string> 10#include <string>
11#include <vector> 11#include <vector>
12
13#include "common/common_types.h" 12#include "common/common_types.h"
14#include "common/file_util.h" 13#include "common/file_util.h"
15 14
@@ -30,7 +29,7 @@ enum class FileType {
30 CXI, 29 CXI,
31 CIA, 30 CIA,
32 ELF, 31 ELF,
33 THREEDSX, //3DSX 32 THREEDSX, // 3DSX
34}; 33};
35 34
36/** 35/**
@@ -81,8 +80,8 @@ constexpr u32 MakeMagic(char a, char b, char c, char d) {
81/// Interface for loading an application 80/// Interface for loading an application
82class AppLoader : NonCopyable { 81class AppLoader : NonCopyable {
83public: 82public:
84 AppLoader(FileUtil::IOFile&& file) : file(std::move(file)) { } 83 AppLoader(FileUtil::IOFile&& file) : file(std::move(file)) {}
85 virtual ~AppLoader() { } 84 virtual ~AppLoader() {}
86 85
87 /** 86 /**
88 * Returns the type of this file 87 * Returns the type of this file
@@ -140,7 +139,8 @@ public:
140 * @param size The size of the romfs 139 * @param size The size of the romfs
141 * @return ResultStatus result of function 140 * @return ResultStatus result of function
142 */ 141 */
143 virtual ResultStatus ReadRomFS(std::shared_ptr<FileUtil::IOFile>& romfs_file, u64& offset, u64& size) { 142 virtual ResultStatus ReadRomFS(std::shared_ptr<FileUtil::IOFile>& romfs_file, u64& offset,
143 u64& size) {
144 return ResultStatus::ErrorNotImplemented; 144 return ResultStatus::ErrorNotImplemented;
145 } 145 }
146 146