diff options
| author | 2024-02-18 00:52:22 +0100 | |
|---|---|---|
| committer | 2024-02-18 00:52:22 +0100 | |
| commit | 82949085c0e14bbddbc9b39ae077cfd3338a230f (patch) | |
| tree | e9873296e39fc2aed1af60412d6a96cd896e69d3 /src/core/hle/service/filesystem | |
| parent | service: Add GetCacheStorageMax stub to IApplicationFunctions (diff) | |
| download | yuzu-82949085c0e14bbddbc9b39ae077cfd3338a230f.tar.gz yuzu-82949085c0e14bbddbc9b39ae077cfd3338a230f.tar.xz yuzu-82949085c0e14bbddbc9b39ae077cfd3338a230f.zip | |
fsp: Add FlushAccessLogOnSdCard stub
Diffstat (limited to 'src/core/hle/service/filesystem')
| -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_) | |||
| 336 | {1012, nullptr, "GetFsStackUsage"}, | 336 | {1012, nullptr, "GetFsStackUsage"}, |
| 337 | {1013, nullptr, "UnsetSaveDataRootPath"}, | 337 | {1013, nullptr, "UnsetSaveDataRootPath"}, |
| 338 | {1014, nullptr, "OutputMultiProgramTagAccessLog"}, | 338 | {1014, nullptr, "OutputMultiProgramTagAccessLog"}, |
| 339 | {1016, nullptr, "FlushAccessLogOnSdCard"}, | 339 | {1016, &FSP_SRV::FlushAccessLogOnSdCard, "FlushAccessLogOnSdCard"}, |
| 340 | {1017, nullptr, "OutputApplicationInfoAccessLog"}, | 340 | {1017, nullptr, "OutputApplicationInfoAccessLog"}, |
| 341 | {1018, nullptr, "SetDebugOption"}, | 341 | {1018, nullptr, "SetDebugOption"}, |
| 342 | {1019, nullptr, "UnsetDebugOption"}, | 342 | {1019, nullptr, "UnsetDebugOption"}, |
| @@ -706,6 +706,13 @@ void FSP_SRV::GetProgramIndexForAccessLog(HLERequestContext& ctx) { | |||
| 706 | rb.Push(access_log_program_index); | 706 | rb.Push(access_log_program_index); |
| 707 | } | 707 | } |
| 708 | 708 | ||
| 709 | void FSP_SRV::FlushAccessLogOnSdCard(HLERequestContext& ctx) { | ||
| 710 | LOG_DEBUG(Service_FS, "(STUBBED) called"); | ||
| 711 | |||
| 712 | IPC::ResponseBuilder rb{ctx, 2}; | ||
| 713 | rb.Push(ResultSuccess); | ||
| 714 | } | ||
| 715 | |||
| 709 | void FSP_SRV::GetCacheStorageSize(HLERequestContext& ctx) { | 716 | void FSP_SRV::GetCacheStorageSize(HLERequestContext& ctx) { |
| 710 | IPC::RequestParser rp{ctx}; | 717 | IPC::RequestParser rp{ctx}; |
| 711 | const auto index{rp.Pop<s32>()}; | 718 | const auto index{rp.Pop<s32>()}; |
| @@ -755,4 +762,4 @@ void FSP_SRV::OpenMultiCommitManager(HLERequestContext& ctx) { | |||
| 755 | rb.PushIpcInterface<IMultiCommitManager>(std::make_shared<IMultiCommitManager>(system)); | 762 | rb.PushIpcInterface<IMultiCommitManager>(std::make_shared<IMultiCommitManager>(system)); |
| 756 | } | 763 | } |
| 757 | 764 | ||
| 758 | } // namespace Service::FileSystem | 765 | } // 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: | |||
| 58 | void SetGlobalAccessLogMode(HLERequestContext& ctx); | 58 | void SetGlobalAccessLogMode(HLERequestContext& ctx); |
| 59 | void GetGlobalAccessLogMode(HLERequestContext& ctx); | 59 | void GetGlobalAccessLogMode(HLERequestContext& ctx); |
| 60 | void OutputAccessLogToSdCard(HLERequestContext& ctx); | 60 | void OutputAccessLogToSdCard(HLERequestContext& ctx); |
| 61 | void FlushAccessLogOnSdCard(HLERequestContext& ctx); | ||
| 61 | void GetProgramIndexForAccessLog(HLERequestContext& ctx); | 62 | void GetProgramIndexForAccessLog(HLERequestContext& ctx); |
| 62 | void OpenMultiCommitManager(HLERequestContext& ctx); | 63 | void OpenMultiCommitManager(HLERequestContext& ctx); |
| 63 | void GetCacheStorageSize(HLERequestContext& ctx); | 64 | void GetCacheStorageSize(HLERequestContext& ctx); |