summaryrefslogtreecommitdiffstats
path: root/src/core/loader
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-07-04 19:25:30 +0200
committerbunnei <bunneidev@gmail.com>2014-07-05 02:37:50 +0200
commit1099d83455153f9d81b10b54a788bc9fe91f33e9 (patch)
tree1de0dcbcdbdc5339c677e4eb703b44c6f4963508 /src/core/loader
parentMarked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final" (diff)
downloadyuzu-1099d83455153f9d81b10b54a788bc9fe91f33e9.tar
yuzu-1099d83455153f9d81b10b54a788bc9fe91f33e9.tar.gz
yuzu-1099d83455153f9d81b10b54a788bc9fe91f33e9.tar.bz2
yuzu-1099d83455153f9d81b10b54a788bc9fe91f33e9.tar.lz
yuzu-1099d83455153f9d81b10b54a788bc9fe91f33e9.tar.xz
yuzu-1099d83455153f9d81b10b54a788bc9fe91f33e9.tar.zst
yuzu-1099d83455153f9d81b10b54a788bc9fe91f33e9.zip
Diffstat (limited to '')
-rw-r--r--src/core/loader/elf.h4
-rw-r--r--src/core/loader/ncch.h14
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 {
class AppLoader_ELF final : public AppLoader {
public:
AppLoader_ELF(const std::string& filename);
- ~AppLoader_ELF();
+ ~AppLoader_ELF() override;
/**
* Load the bootable file
* @return ResultStatus result of function
*/
- ResultStatus Load();
+ ResultStatus Load() override;
private:
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 {
class AppLoader_NCCH final : public AppLoader {
public:
AppLoader_NCCH(const std::string& filename);
- ~AppLoader_NCCH();
+ ~AppLoader_NCCH() override;
/**
* Load the application
* @return ResultStatus result of function
*/
- ResultStatus Load();
+ ResultStatus Load() override;
/**
* Get the code (typically .code section) of the application
* @param buffer Reference to buffer to store data
* @return ResultStatus result of function
*/
- ResultStatus ReadCode(std::vector<u8>& buffer) const;
+ ResultStatus ReadCode(std::vector<u8>& buffer) const override;
/**
* Get the icon (typically icon section) of the application
* @param buffer Reference to buffer to store data
* @return ResultStatus result of function
*/
- ResultStatus ReadIcon(std::vector<u8>& buffer) const;
+ ResultStatus ReadIcon(std::vector<u8>& buffer) const override;
/**
* Get the banner (typically banner section) of the application
* @param buffer Reference to buffer to store data
* @return ResultStatus result of function
*/
- ResultStatus ReadBanner(std::vector<u8>& buffer) const;
+ ResultStatus ReadBanner(std::vector<u8>& buffer) const override;
/**
* Get the logo (typically logo section) of the application
* @param buffer Reference to buffer to store data
* @return ResultStatus result of function
*/
- ResultStatus ReadLogo(std::vector<u8>& buffer) const;
+ ResultStatus ReadLogo(std::vector<u8>& buffer) const override;
/**
* Get the RomFS of the application
* @param buffer Reference to buffer to store data
* @return ResultStatus result of function
*/
- ResultStatus ReadRomFS(std::vector<u8>& buffer) const;
+ ResultStatus ReadRomFS(std::vector<u8>& buffer) const override;
private: