diff options
| author | 2014-07-04 13:25:30 -0400 | |
|---|---|---|
| committer | 2014-07-04 20:37:50 -0400 | |
| commit | 1099d83455153f9d81b10b54a788bc9fe91f33e9 (patch) | |
| tree | 1de0dcbcdbdc5339c677e4eb703b44c6f4963508 /src/core/loader | |
| parent | Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final" (diff) | |
| download | yuzu-1099d83455153f9d81b10b54a788bc9fe91f33e9.tar.gz yuzu-1099d83455153f9d81b10b54a788bc9fe91f33e9.tar.xz yuzu-1099d83455153f9d81b10b54a788bc9fe91f33e9.zip | |
Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as "override".
Diffstat (limited to 'src/core/loader')
| -rw-r--r-- | src/core/loader/elf.h | 4 | ||||
| -rw-r--r-- | src/core/loader/ncch.h | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/core/loader/elf.h b/src/core/loader/elf.h index cec1167ca..5ae88439a 100644 --- a/src/core/loader/elf.h +++ b/src/core/loader/elf.h | |||
| @@ -16,13 +16,13 @@ namespace Loader { | |||
| 16 | class AppLoader_ELF final : public AppLoader { | 16 | class AppLoader_ELF final : public AppLoader { |
| 17 | public: | 17 | public: |
| 18 | AppLoader_ELF(const std::string& filename); | 18 | AppLoader_ELF(const std::string& filename); |
| 19 | ~AppLoader_ELF(); | 19 | ~AppLoader_ELF() override; |
| 20 | 20 | ||
| 21 | /** | 21 | /** |
| 22 | * Load the bootable file | 22 | * Load the bootable file |
| 23 | * @return ResultStatus result of function | 23 | * @return ResultStatus result of function |
| 24 | */ | 24 | */ |
| 25 | ResultStatus Load(); | 25 | ResultStatus Load() override; |
| 26 | 26 | ||
| 27 | private: | 27 | private: |
| 28 | std::string filename; | 28 | std::string filename; |
diff --git a/src/core/loader/ncch.h b/src/core/loader/ncch.h index de89280ea..29b59aa11 100644 --- a/src/core/loader/ncch.h +++ b/src/core/loader/ncch.h | |||
| @@ -148,48 +148,48 @@ namespace Loader { | |||
| 148 | class AppLoader_NCCH final : public AppLoader { | 148 | class AppLoader_NCCH final : public AppLoader { |
| 149 | public: | 149 | public: |
| 150 | AppLoader_NCCH(const std::string& filename); | 150 | AppLoader_NCCH(const std::string& filename); |
| 151 | ~AppLoader_NCCH(); | 151 | ~AppLoader_NCCH() override; |
| 152 | 152 | ||
| 153 | /** | 153 | /** |
| 154 | * Load the application | 154 | * Load the application |
| 155 | * @return ResultStatus result of function | 155 | * @return ResultStatus result of function |
| 156 | */ | 156 | */ |
| 157 | ResultStatus Load(); | 157 | ResultStatus Load() override; |
| 158 | 158 | ||
| 159 | /** | 159 | /** |
| 160 | * Get the code (typically .code section) of the application | 160 | * Get the code (typically .code section) of the application |
| 161 | * @param buffer Reference to buffer to store data | 161 | * @param buffer Reference to buffer to store data |
| 162 | * @return ResultStatus result of function | 162 | * @return ResultStatus result of function |
| 163 | */ | 163 | */ |
| 164 | ResultStatus ReadCode(std::vector<u8>& buffer) const; | 164 | ResultStatus ReadCode(std::vector<u8>& buffer) const override; |
| 165 | 165 | ||
| 166 | /** | 166 | /** |
| 167 | * Get the icon (typically icon section) of the application | 167 | * Get the icon (typically icon section) of the application |
| 168 | * @param buffer Reference to buffer to store data | 168 | * @param buffer Reference to buffer to store data |
| 169 | * @return ResultStatus result of function | 169 | * @return ResultStatus result of function |
| 170 | */ | 170 | */ |
| 171 | ResultStatus ReadIcon(std::vector<u8>& buffer) const; | 171 | ResultStatus ReadIcon(std::vector<u8>& buffer) const override; |
| 172 | 172 | ||
| 173 | /** | 173 | /** |
| 174 | * Get the banner (typically banner section) of the application | 174 | * Get the banner (typically banner section) of the application |
| 175 | * @param buffer Reference to buffer to store data | 175 | * @param buffer Reference to buffer to store data |
| 176 | * @return ResultStatus result of function | 176 | * @return ResultStatus result of function |
| 177 | */ | 177 | */ |
| 178 | ResultStatus ReadBanner(std::vector<u8>& buffer) const; | 178 | ResultStatus ReadBanner(std::vector<u8>& buffer) const override; |
| 179 | 179 | ||
| 180 | /** | 180 | /** |
| 181 | * Get the logo (typically logo section) of the application | 181 | * Get the logo (typically logo section) of the application |
| 182 | * @param buffer Reference to buffer to store data | 182 | * @param buffer Reference to buffer to store data |
| 183 | * @return ResultStatus result of function | 183 | * @return ResultStatus result of function |
| 184 | */ | 184 | */ |
| 185 | ResultStatus ReadLogo(std::vector<u8>& buffer) const; | 185 | ResultStatus ReadLogo(std::vector<u8>& buffer) const override; |
| 186 | 186 | ||
| 187 | /** | 187 | /** |
| 188 | * Get the RomFS of the application | 188 | * Get the RomFS of the application |
| 189 | * @param buffer Reference to buffer to store data | 189 | * @param buffer Reference to buffer to store data |
| 190 | * @return ResultStatus result of function | 190 | * @return ResultStatus result of function |
| 191 | */ | 191 | */ |
| 192 | ResultStatus ReadRomFS(std::vector<u8>& buffer) const; | 192 | ResultStatus ReadRomFS(std::vector<u8>& buffer) const override; |
| 193 | 193 | ||
| 194 | private: | 194 | private: |
| 195 | 195 | ||