diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-02-18 16:25:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-18 16:25:18 +0100 |
commit | 6d731e1aa184636305a6d993544b50d9e5697f25 (patch) | |
tree | 308b2a0c6b8c5d58320b1c8d900e552c8d7aae6b /src/core/hle/service/filesystem | |
parent | Merge pull request #13065 from t895/cancel-button-fail (diff) | |
parent | service: Change unique_ptr to make_unique in GetCacheStorageMax (diff) | |
download | yuzu-6d731e1aa184636305a6d993544b50d9e5697f25.tar yuzu-6d731e1aa184636305a6d993544b50d9e5697f25.tar.gz yuzu-6d731e1aa184636305a6d993544b50d9e5697f25.tar.bz2 yuzu-6d731e1aa184636305a6d993544b50d9e5697f25.tar.lz yuzu-6d731e1aa184636305a6d993544b50d9e5697f25.tar.xz yuzu-6d731e1aa184636305a6d993544b50d9e5697f25.tar.zst yuzu-6d731e1aa184636305a6d993544b50d9e5697f25.zip |
Diffstat (limited to 'src/core/hle/service/filesystem')
-rw-r--r-- | src/core/hle/service/filesystem/fsp/fsp_srv.cpp | 9 | ||||
-rw-r--r-- | src/core/hle/service/filesystem/fsp/fsp_srv.h | 1 |
2 files changed, 9 insertions, 1 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..2d49f30c8 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>()}; 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); |