diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-08-26 01:05:04 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-09-04 22:23:15 +0200 |
commit | 08fcb4694f28fab40d76cc60fcd2fc35fb24917f (patch) | |
tree | c456fb1dc49e1a2c96585f157ae53063ba9ae86f /src/core | |
parent | patch_manager: Add usages of patches to ExeFS (diff) | |
download | yuzu-08fcb4694f28fab40d76cc60fcd2fc35fb24917f.tar yuzu-08fcb4694f28fab40d76cc60fcd2fc35fb24917f.tar.gz yuzu-08fcb4694f28fab40d76cc60fcd2fc35fb24917f.tar.bz2 yuzu-08fcb4694f28fab40d76cc60fcd2fc35fb24917f.tar.lz yuzu-08fcb4694f28fab40d76cc60fcd2fc35fb24917f.tar.xz yuzu-08fcb4694f28fab40d76cc60fcd2fc35fb24917f.tar.zst yuzu-08fcb4694f28fab40d76cc60fcd2fc35fb24917f.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/loader/deconstructed_rom_directory.cpp | 4 | ||||
-rw-r--r-- | src/core/loader/deconstructed_rom_directory.h | 1 | ||||
-rw-r--r-- | src/core/loader/nro.cpp | 5 | ||||
-rw-r--r-- | src/core/loader/nro.h | 1 |
4 files changed, 11 insertions, 0 deletions
diff --git a/src/core/loader/deconstructed_rom_directory.cpp b/src/core/loader/deconstructed_rom_directory.cpp index 04ef55da1..6b2230269 100644 --- a/src/core/loader/deconstructed_rom_directory.cpp +++ b/src/core/loader/deconstructed_rom_directory.cpp @@ -189,4 +189,8 @@ ResultStatus AppLoader_DeconstructedRomDirectory::ReadTitle(std::string& title) return ResultStatus::Success; } +bool AppLoader_DeconstructedRomDirectory::IsRomFSUpdatable() { + return false; +} + } // namespace Loader diff --git a/src/core/loader/deconstructed_rom_directory.h b/src/core/loader/deconstructed_rom_directory.h index cb50f8bff..a8644516b 100644 --- a/src/core/loader/deconstructed_rom_directory.h +++ b/src/core/loader/deconstructed_rom_directory.h @@ -44,6 +44,7 @@ public: ResultStatus ReadIcon(std::vector<u8>& buffer) override; ResultStatus ReadProgramId(u64& out_program_id) override; ResultStatus ReadTitle(std::string& title) override; + bool IsRomFSUpdatable() override; private: FileSys::ProgramMetadata metadata; diff --git a/src/core/loader/nro.cpp b/src/core/loader/nro.cpp index 77026b850..96f5cd9e5 100644 --- a/src/core/loader/nro.cpp +++ b/src/core/loader/nro.cpp @@ -232,4 +232,9 @@ ResultStatus AppLoader_NRO::ReadTitle(std::string& title) { title = nacp->GetApplicationName(); return ResultStatus::Success; } + +bool AppLoader_NRO::IsRomFSUpdatable() { + return false; +} + } // namespace Loader diff --git a/src/core/loader/nro.h b/src/core/loader/nro.h index bb01c9e25..c35c99d14 100644 --- a/src/core/loader/nro.h +++ b/src/core/loader/nro.h @@ -39,6 +39,7 @@ public: ResultStatus ReadProgramId(u64& out_program_id) override; ResultStatus ReadRomFS(FileSys::VirtualFile& dir) override; ResultStatus ReadTitle(std::string& title) override; + bool IsRomFSUpdatable() override; private: bool LoadNro(FileSys::VirtualFile file, VAddr load_base); |