diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-10-05 14:53:45 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-10-05 14:53:51 +0200 |
commit | 38c2ac95af814e21e65e2785b276c4f64bfead71 (patch) | |
tree | 513d2b50eeb2dc24f709c7ca109b5ce5bd17d6ed /src/core/hle/service/filesystem/filesystem.cpp | |
parent | patch_manager: Add support for NSP packed updates (diff) | |
download | yuzu-38c2ac95af814e21e65e2785b276c4f64bfead71.tar yuzu-38c2ac95af814e21e65e2785b276c4f64bfead71.tar.gz yuzu-38c2ac95af814e21e65e2785b276c4f64bfead71.tar.bz2 yuzu-38c2ac95af814e21e65e2785b276c4f64bfead71.tar.lz yuzu-38c2ac95af814e21e65e2785b276c4f64bfead71.tar.xz yuzu-38c2ac95af814e21e65e2785b276c4f64bfead71.tar.zst yuzu-38c2ac95af814e21e65e2785b276c4f64bfead71.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/filesystem/filesystem.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/hle/service/filesystem/filesystem.cpp b/src/core/hle/service/filesystem/filesystem.cpp index aed2abb71..439e62d27 100644 --- a/src/core/hle/service/filesystem/filesystem.cpp +++ b/src/core/hle/service/filesystem/filesystem.cpp @@ -264,6 +264,15 @@ ResultCode RegisterBIS(std::unique_ptr<FileSys::BISFactory>&& factory) { return RESULT_SUCCESS; } +void SetPackedUpdate(FileSys::VirtualFile update_raw) { + LOG_TRACE(Service_FS, "Setting packed update for romfs"); + + if (romfs_factory == nullptr) + return; + + romfs_factory->SetPackedUpdate(std::move(update_raw)); +} + ResultVal<FileSys::VirtualFile> OpenRomFSCurrentProcess() { LOG_TRACE(Service_FS, "Opening RomFS for current process"); |