diff options
author | Lioncash <mathew1800@gmail.com> | 2018-12-07 23:52:51 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-12-10 02:42:35 +0100 |
commit | f3a555a48437a06232a54cfc99a9ea43b365464a (patch) | |
tree | b334e647e128686047d3c5b3550dc0821cf911ff /src/core/hle/service/filesystem/fsp_srv.cpp | |
parent | Merge pull request #1867 from lioncash/alloc (diff) | |
download | yuzu-f3a555a48437a06232a54cfc99a9ea43b365464a.tar yuzu-f3a555a48437a06232a54cfc99a9ea43b365464a.tar.gz yuzu-f3a555a48437a06232a54cfc99a9ea43b365464a.tar.bz2 yuzu-f3a555a48437a06232a54cfc99a9ea43b365464a.tar.lz yuzu-f3a555a48437a06232a54cfc99a9ea43b365464a.tar.xz yuzu-f3a555a48437a06232a54cfc99a9ea43b365464a.tar.zst yuzu-f3a555a48437a06232a54cfc99a9ea43b365464a.zip |
Diffstat (limited to 'src/core/hle/service/filesystem/fsp_srv.cpp')
-rw-r--r-- | src/core/hle/service/filesystem/fsp_srv.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp index d2ffd5776..63fa48133 100644 --- a/src/core/hle/service/filesystem/fsp_srv.cpp +++ b/src/core/hle/service/filesystem/fsp_srv.cpp @@ -796,9 +796,18 @@ void FSP_SRV::OpenSaveDataInfoReaderBySaveDataSpaceId(Kernel::HLERequestContext& void FSP_SRV::GetGlobalAccessLogMode(Kernel::HLERequestContext& ctx) { LOG_WARNING(Service_FS, "(STUBBED) called"); + enum class LogMode : u32 { + Off, + Log, + RedirectToSdCard, + LogToSdCard = Log | RedirectToSdCard, + }; + + // Given we always want to receive logging information, + // we always specify logging as enabled. IPC::ResponseBuilder rb{ctx, 3}; rb.Push(RESULT_SUCCESS); - rb.Push<u32>(5); + rb.PushEnum(LogMode::Log); } void FSP_SRV::OpenDataStorageByCurrentProcess(Kernel::HLERequestContext& ctx) { |