diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-09-01 05:19:49 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-09-01 05:19:49 +0200 |
commit | 19d0951ae61d2a0a7829da3567caf446308a359a (patch) | |
tree | 63c1fc79130a9ae66639513b4625579a4d061cb0 /src/core | |
parent | filesystem: Add OpenFileSystemWithPatch (diff) | |
download | yuzu-19d0951ae61d2a0a7829da3567caf446308a359a.tar yuzu-19d0951ae61d2a0a7829da3567caf446308a359a.tar.gz yuzu-19d0951ae61d2a0a7829da3567caf446308a359a.tar.bz2 yuzu-19d0951ae61d2a0a7829da3567caf446308a359a.tar.lz yuzu-19d0951ae61d2a0a7829da3567caf446308a359a.tar.xz yuzu-19d0951ae61d2a0a7829da3567caf446308a359a.tar.zst yuzu-19d0951ae61d2a0a7829da3567caf446308a359a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/filesystem/fsp_srv.cpp | 7 | ||||
-rw-r--r-- | src/core/hle/service/filesystem/fsp_srv.h | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp index 994845f94..3f8ff67e8 100644 --- a/src/core/hle/service/filesystem/fsp_srv.cpp +++ b/src/core/hle/service/filesystem/fsp_srv.cpp @@ -455,7 +455,7 @@ FSP_SRV::FSP_SRV() : ServiceFramework("fsp-srv") { {34, nullptr, "GetCacheStorageSize"}, {51, &FSP_SRV::MountSaveData, "MountSaveData"}, {52, nullptr, "OpenSaveDataFileSystemBySystemSaveDataId"}, - {53, nullptr, "OpenReadOnlySaveDataFileSystem"}, + {53, &FSP_SRV::OpenReadOnlySaveDataFileSystem, "OpenReadOnlySaveDataFileSystem"}, {57, nullptr, "ReadSaveDataFileSystemExtraDataBySaveDataSpaceId"}, {58, nullptr, "ReadSaveDataFileSystemExtraData"}, {59, nullptr, "WriteSaveDataFileSystemExtraData"}, @@ -584,6 +584,11 @@ void FSP_SRV::MountSaveData(Kernel::HLERequestContext& ctx) { rb.PushIpcInterface<IFileSystem>(std::move(filesystem)); } +void FSP_SRV::OpenReadOnlySaveDataFileSystem(Kernel::HLERequestContext& ctx) { + LOG_WARNING(Service_FS, "(STUBBED) called, delegating to 51 OpenSaveDataFilesystem"); + MountSaveData(ctx); +} + void FSP_SRV::GetGlobalAccessLogMode(Kernel::HLERequestContext& ctx) { LOG_WARNING(Service_FS, "(STUBBED) called"); diff --git a/src/core/hle/service/filesystem/fsp_srv.h b/src/core/hle/service/filesystem/fsp_srv.h index b5842ecdd..2b5c21abb 100644 --- a/src/core/hle/service/filesystem/fsp_srv.h +++ b/src/core/hle/service/filesystem/fsp_srv.h @@ -24,6 +24,7 @@ private: void MountSdCard(Kernel::HLERequestContext& ctx); void CreateSaveData(Kernel::HLERequestContext& ctx); void MountSaveData(Kernel::HLERequestContext& ctx); + void OpenReadOnlySaveDataFileSystem(Kernel::HLERequestContext& ctx); void GetGlobalAccessLogMode(Kernel::HLERequestContext& ctx); void OpenDataStorageByCurrentProcess(Kernel::HLERequestContext& ctx); void OpenDataStorageByDataId(Kernel::HLERequestContext& ctx); |