summaryrefslogtreecommitdiff
path: root/src/core/file_sys
diff options
context:
space:
mode:
authorGravatar bunnei2014-07-04 13:25:30 -0400
committerGravatar bunnei2014-07-04 20:37:50 -0400
commit1099d83455153f9d81b10b54a788bc9fe91f33e9 (patch)
tree1de0dcbcdbdc5339c677e4eb703b44c6f4963508 /src/core/file_sys
parentMarked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final" (diff)
downloadyuzu-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/file_sys')
-rw-r--r--src/core/file_sys/archive_romfs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/file_sys/archive_romfs.h b/src/core/file_sys/archive_romfs.h
index e5664ba16..8a31190a9 100644
--- a/src/core/file_sys/archive_romfs.h
+++ b/src/core/file_sys/archive_romfs.h
@@ -20,13 +20,13 @@ namespace FileSys {
20class Archive_RomFS final : public Archive { 20class Archive_RomFS final : public Archive {
21public: 21public:
22 Archive_RomFS(const Loader::AppLoader& app_loader); 22 Archive_RomFS(const Loader::AppLoader& app_loader);
23 ~Archive_RomFS(); 23 ~Archive_RomFS() override;
24 24
25 /** 25 /**
26 * Get the IdCode of the archive (e.g. RomFS, SaveData, etc.) 26 * Get the IdCode of the archive (e.g. RomFS, SaveData, etc.)
27 * @return IdCode of the archive 27 * @return IdCode of the archive
28 */ 28 */
29 IdCode GetIdCode() const { return IdCode::RomFS; }; 29 IdCode GetIdCode() const override { return IdCode::RomFS; };
30 30
31 /** 31 /**
32 * Read data from the archive 32 * Read data from the archive
@@ -35,13 +35,13 @@ public:
35 * @param buffer Buffer to read data into 35 * @param buffer Buffer to read data into
36 * @return Number of bytes read 36 * @return Number of bytes read
37 */ 37 */
38 size_t Read(const u64 offset, const u32 length, u8* buffer) const; 38 size_t Read(const u64 offset, const u32 length, u8* buffer) const override;
39 39
40 /** 40 /**
41 * Get the size of the archive in bytes 41 * Get the size of the archive in bytes
42 * @return Size of the archive in bytes 42 * @return Size of the archive in bytes
43 */ 43 */
44 size_t GetSize() const; 44 size_t GetSize() const override;
45 45
46private: 46private:
47 std::vector<u8> raw_data; 47 std::vector<u8> raw_data;