summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/filesystem/fsp_srv.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-06-29 03:05:37 +0200
committerZach Hilman <zachhilman@gmail.com>2019-06-29 03:05:42 +0200
commitd40f38967e15372cf4b85c4d862ccb35b3befa40 (patch)
tree9937cfc5ef225ca02e4e1b26148b67a0be7d14d6 /src/core/hle/service/filesystem/fsp_srv.cpp
parentreporter: Add report class for filesystem access logs (diff)
downloadyuzu-d40f38967e15372cf4b85c4d862ccb35b3befa40.tar
yuzu-d40f38967e15372cf4b85c4d862ccb35b3befa40.tar.gz
yuzu-d40f38967e15372cf4b85c4d862ccb35b3befa40.tar.bz2
yuzu-d40f38967e15372cf4b85c4d862ccb35b3befa40.tar.lz
yuzu-d40f38967e15372cf4b85c4d862ccb35b3befa40.tar.xz
yuzu-d40f38967e15372cf4b85c4d862ccb35b3befa40.tar.zst
yuzu-d40f38967e15372cf4b85c4d862ccb35b3befa40.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/filesystem/fsp_srv.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp
index bfe0c32b7..d3cd46a9b 100644
--- a/src/core/hle/service/filesystem/fsp_srv.cpp
+++ b/src/core/hle/service/filesystem/fsp_srv.cpp
@@ -718,7 +718,7 @@ FSP_SRV::FSP_SRV(const Core::Reporter& reporter) : ServiceFramework("fsp-srv"),
{1008, nullptr, "OpenRegisteredUpdatePartition"},
{1009, nullptr, "GetAndClearMemoryReportInfo"},
{1010, nullptr, "SetDataStorageRedirectTarget"},
- {1011, nullptr, "OutputAccessLogToSdCard2"},
+ {1011, &FSP_SRV::GetAccessLogVersionInfo, "GetAccessLogVersionInfo"},
{1100, nullptr, "OverrideSaveDataTransferTokenSignVerificationKey"},
{1110, nullptr, "CorruptSaveDataFileSystemBySaveDataSpaceId2"},
{1200, nullptr, "OpenMultiCommitManager"},
@@ -826,7 +826,7 @@ void FSP_SRV::SetGlobalAccessLogMode(Kernel::HLERequestContext& ctx) {
}
void FSP_SRV::GetGlobalAccessLogMode(Kernel::HLERequestContext& ctx) {
- LOG_WARNING(Service_FS, "called");
+ LOG_DEBUG(Service_FS, "called");
IPC::ResponseBuilder rb{ctx, 3};
rb.Push(RESULT_SUCCESS);
@@ -917,4 +917,13 @@ void FSP_SRV::OutputAccessLogToSdCard(Kernel::HLERequestContext& ctx) {
rb.Push(RESULT_SUCCESS);
}
+void FSP_SRV::GetAccessLogVersionInfo(Kernel::HLERequestContext& ctx) {
+ LOG_DEBUG(Service_FS, "called");
+
+ IPC::ResponseBuilder rb{ctx, 4};
+ rb.Push(RESULT_SUCCESS);
+ rb.PushEnum(AccessLogVersion::Latest);
+ rb.Push(access_log_program_index);
+}
+
} // namespace Service::FileSystem