summaryrefslogtreecommitdiffstats
path: root/src/core/loader/deconstructed_rom_directory.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-07-28 18:32:16 +0200
committerZach Hilman <zachhilman@gmail.com>2018-08-07 05:06:33 +0200
commit9e88f03e7591bd3b91d7af9b9995a727c0b92ac9 (patch)
treedf8fb8701e41ac8ea525fe23b6b13e057e41d0b8 /src/core/loader/deconstructed_rom_directory.h
parentMerge pull request #931 from DarkLordZach/nca-as-drd (diff)
downloadyuzu-9e88f03e7591bd3b91d7af9b9995a727c0b92ac9.tar
yuzu-9e88f03e7591bd3b91d7af9b9995a727c0b92ac9.tar.gz
yuzu-9e88f03e7591bd3b91d7af9b9995a727c0b92ac9.tar.bz2
yuzu-9e88f03e7591bd3b91d7af9b9995a727c0b92ac9.tar.lz
yuzu-9e88f03e7591bd3b91d7af9b9995a727c0b92ac9.tar.xz
yuzu-9e88f03e7591bd3b91d7af9b9995a727c0b92ac9.tar.zst
yuzu-9e88f03e7591bd3b91d7af9b9995a727c0b92ac9.zip
Diffstat (limited to '')
-rw-r--r--src/core/loader/deconstructed_rom_directory.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/loader/deconstructed_rom_directory.h b/src/core/loader/deconstructed_rom_directory.h
index 7d5433563..b20804f75 100644
--- a/src/core/loader/deconstructed_rom_directory.h
+++ b/src/core/loader/deconstructed_rom_directory.h
@@ -39,11 +39,18 @@ public:
ResultStatus Load(Kernel::SharedPtr<Kernel::Process>& process) override;
ResultStatus ReadRomFS(FileSys::VirtualFile& dir) override;
+ ResultStatus ReadIcon(std::vector<u8>& buffer) override;
+ ResultStatus ReadProgramId(u64& out_program_id) override;
+ ResultStatus ReadTitle(std::string& title) override;
private:
FileSys::ProgramMetadata metadata;
FileSys::VirtualFile romfs;
FileSys::VirtualDir dir;
+
+ std::vector<u8> icon_data;
+ std::string name;
+ u64 title_id{};
};
} // namespace Loader