diff options
author | Leystryku <Leystryku@gmail.com> | 2024-02-18 00:52:22 +0100 |
---|---|---|
committer | Leystryku <Leystryku@gmail.com> | 2024-02-18 00:52:22 +0100 |
commit | 82949085c0e14bbddbc9b39ae077cfd3338a230f (patch) | |
tree | e9873296e39fc2aed1af60412d6a96cd896e69d3 | |
parent | service: Add GetCacheStorageMax stub to IApplicationFunctions (diff) | |
download | yuzu-82949085c0e14bbddbc9b39ae077cfd3338a230f.tar yuzu-82949085c0e14bbddbc9b39ae077cfd3338a230f.tar.gz yuzu-82949085c0e14bbddbc9b39ae077cfd3338a230f.tar.bz2 yuzu-82949085c0e14bbddbc9b39ae077cfd3338a230f.tar.lz yuzu-82949085c0e14bbddbc9b39ae077cfd3338a230f.tar.xz yuzu-82949085c0e14bbddbc9b39ae077cfd3338a230f.tar.zst yuzu-82949085c0e14bbddbc9b39ae077cfd3338a230f.zip |
-rw-r--r-- | src/core/hle/service/filesystem/fsp/fsp_srv.cpp | 11 | ||||
-rw-r--r-- | src/core/hle/service/filesystem/fsp/fsp_srv.h | 1 |
2 files changed, 10 insertions, 2 deletions
diff --git a/src/core/hle/service/filesystem/fsp/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp/fsp_srv.cpp index 63c2d3a58..e1238527e 100644 --- a/src/core/hle/service/filesystem/fsp/fsp_srv.cpp +++ b/src/core/hle/service/filesystem/fsp/fsp_srv.cpp @@ -336,7 +336,7 @@ FSP_SRV::FSP_SRV(Core::System& system_) {1012, nullptr, "GetFsStackUsage"}, {1013, nullptr, "UnsetSaveDataRootPath"}, {1014, nullptr, "OutputMultiProgramTagAccessLog"}, - {1016, nullptr, "FlushAccessLogOnSdCard"}, + {1016, &FSP_SRV::FlushAccessLogOnSdCard, "FlushAccessLogOnSdCard"}, {1017, nullptr, "OutputApplicationInfoAccessLog"}, {1018, nullptr, "SetDebugOption"}, {1019, nullptr, "UnsetDebugOption"}, @@ -706,6 +706,13 @@ void FSP_SRV::GetProgramIndexForAccessLog(HLERequestContext& ctx) { rb.Push(access_log_program_index); } +void FSP_SRV::FlushAccessLogOnSdCard(HLERequestContext& ctx) { + LOG_DEBUG(Service_FS, "(STUBBED) called"); + + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(ResultSuccess); +} + void FSP_SRV::GetCacheStorageSize(HLERequestContext& ctx) { IPC::RequestParser rp{ctx}; const auto index{rp.Pop<s32>()}; @@ -755,4 +762,4 @@ void FSP_SRV::OpenMultiCommitManager(HLERequestContext& ctx) { rb.PushIpcInterface<IMultiCommitManager>(std::make_shared<IMultiCommitManager>(system)); } -} // namespace Service::FileSystem +} // namespace Service::FileSystem
\ No newline at end of file diff --git a/src/core/hle/service/filesystem/fsp/fsp_srv.h b/src/core/hle/service/filesystem/fsp/fsp_srv.h index 26980af99..59406e6f9 100644 --- a/src/core/hle/service/filesystem/fsp/fsp_srv.h +++ b/src/core/hle/service/filesystem/fsp/fsp_srv.h @@ -58,6 +58,7 @@ private: void SetGlobalAccessLogMode(HLERequestContext& ctx); void GetGlobalAccessLogMode(HLERequestContext& ctx); void OutputAccessLogToSdCard(HLERequestContext& ctx); + void FlushAccessLogOnSdCard(HLERequestContext& ctx); void GetProgramIndexForAccessLog(HLERequestContext& ctx); void OpenMultiCommitManager(HLERequestContext& ctx); void GetCacheStorageSize(HLERequestContext& ctx); |