diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-11-03 19:15:51 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-11-04 21:57:16 +0100 |
commit | 64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e (patch) | |
tree | 2d5901f0a26f16175cfd629a2a4503c368e4b88c /src/core/hle/service/filesystem/filesystem.cpp | |
parent | Merge pull request #7282 from ameerj/core-includes (diff) | |
download | yuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.tar yuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.tar.gz yuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.tar.bz2 yuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.tar.lz yuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.tar.xz yuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.tar.zst yuzu-64275dfbf4e852f6cc55d6a4cec3b92743cdaf7e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/filesystem/filesystem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/filesystem/filesystem.cpp b/src/core/hle/service/filesystem/filesystem.cpp index 6422dec4e..194562f37 100644 --- a/src/core/hle/service/filesystem/filesystem.cpp +++ b/src/core/hle/service/filesystem/filesystem.cpp @@ -320,7 +320,7 @@ ResultVal<FileSys::VirtualFile> FileSystemController::OpenRomFSCurrentProcess() return ResultUnknown; } - return romfs_factory->OpenCurrentProcess(system.CurrentProcess()->GetTitleID()); + return romfs_factory->OpenCurrentProcess(system.CurrentProcess()->GetProgramID()); } ResultVal<FileSys::VirtualFile> FileSystemController::OpenPatchedRomFS( @@ -505,7 +505,7 @@ FileSys::SaveDataSize FileSystemController::ReadSaveDataSize(FileSys::SaveDataTy const auto res = system.GetAppLoader().ReadControlData(nacp); if (res != Loader::ResultStatus::Success) { - const FileSys::PatchManager pm{system.CurrentProcess()->GetTitleID(), + const FileSys::PatchManager pm{system.CurrentProcess()->GetProgramID(), system.GetFileSystemController(), system.GetContentProvider()}; const auto metadata = pm.GetControlMetadata(); |