diff options
| author | lizzie <lizzie@eden-emu.dev> | 2026-08-04 01:50:54 +0200 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2026-08-04 01:50:54 +0200 |
| commit | 8fe1e6efa2fe21abc9e8e1f83ecbc5a78389e37b (patch) | |
| tree | d09c3210519fda784e30d2754baf21dd4db8324d /src/core/file_sys/patch_manager.h | |
| parent | ee197e622216e85753512ed79e9242442a312544 (diff) | |
[core/file_sys] implement IApplicationFunctions::GetPseudoDeviceId; common PatchManager::GetNACP for base|updates (#4159)
a bit of refactoring so there's less code duplication...
probably a good idea to make it a lambda anyways
maybe this is why QLauncher didn't have proper DLCs and updates?
either way "GetPseudoDeviceId" is now implemented (still stubbed) with a proper hash instead of just 0
Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4159
Reviewed-by: Maufeat <sahyno1996@gmail.com>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Diffstat (limited to 'src/core/file_sys/patch_manager.h')
| -rw-r--r-- | src/core/file_sys/patch_manager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/file_sys/patch_manager.h b/src/core/file_sys/patch_manager.h index 755d924fd4..5d71dbcf20 100644 --- a/src/core/file_sys/patch_manager.h +++ b/src/core/file_sys/patch_manager.h @@ -105,6 +105,9 @@ public: // Version of GetControlMetadata that takes an arbitrary NCA [[nodiscard]] Metadata ParseControlNCA(const NCA& nca) const; + /// @brief Gets NACP metadata (accounting for any patches or updates) + [[nodiscard]] static PatchManager::Metadata GetMetadataFromBaseOrUpdate(Core::System& system, u64 application_id) noexcept; + private: [[nodiscard]] std::vector<VirtualFile> CollectPatches(const std::vector<VirtualDir>& patch_dirs, const std::string& build_id) const; |
