diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-08-06 00:27:05 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-08-06 00:28:15 +0200 |
commit | 7f9430f7aee9e7ef11d1bd86a2b98ae239c5be06 (patch) | |
tree | 340579d4ed7768dc4866102916fc449b6e601164 /src/core/loader/deconstructed_rom_directory.h | |
parent | Merge pull request #927 from bunnei/fix-texs (diff) | |
download | yuzu-7f9430f7aee9e7ef11d1bd86a2b98ae239c5be06.tar yuzu-7f9430f7aee9e7ef11d1bd86a2b98ae239c5be06.tar.gz yuzu-7f9430f7aee9e7ef11d1bd86a2b98ae239c5be06.tar.bz2 yuzu-7f9430f7aee9e7ef11d1bd86a2b98ae239c5be06.tar.lz yuzu-7f9430f7aee9e7ef11d1bd86a2b98ae239c5be06.tar.xz yuzu-7f9430f7aee9e7ef11d1bd86a2b98ae239c5be06.tar.zst yuzu-7f9430f7aee9e7ef11d1bd86a2b98ae239c5be06.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/loader/deconstructed_rom_directory.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/loader/deconstructed_rom_directory.h b/src/core/loader/deconstructed_rom_directory.h index 7319ba6ea..7d5433563 100644 --- a/src/core/loader/deconstructed_rom_directory.h +++ b/src/core/loader/deconstructed_rom_directory.h @@ -22,6 +22,9 @@ class AppLoader_DeconstructedRomDirectory final : public AppLoader { public: explicit AppLoader_DeconstructedRomDirectory(FileSys::VirtualFile main_file); + // Overload to accept exefs directory. Must contain 'main' and 'main.npdm' + explicit AppLoader_DeconstructedRomDirectory(FileSys::VirtualDir directory); + /** * Returns the type of the file * @param file std::shared_ptr<VfsFile> open file @@ -40,6 +43,7 @@ public: private: FileSys::ProgramMetadata metadata; FileSys::VirtualFile romfs; + FileSys::VirtualDir dir; }; } // namespace Loader |