diff options
| -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& | |||
| 796 | void FSP_SRV::GetGlobalAccessLogMode(Kernel::HLERequestContext& ctx) { | 796 | void FSP_SRV::GetGlobalAccessLogMode(Kernel::HLERequestContext& ctx) { |
| 797 | LOG_WARNING(Service_FS, "(STUBBED) called"); | 797 | LOG_WARNING(Service_FS, "(STUBBED) called"); |
| 798 | 798 | ||
| 799 | enum class LogMode : u32 { | ||
| 800 | Off, | ||
| 801 | Log, | ||
| 802 | RedirectToSdCard, | ||
| 803 | LogToSdCard = Log | RedirectToSdCard, | ||
| 804 | }; | ||
| 805 | |||
| 806 | // Given we always want to receive logging information, | ||
| 807 | // we always specify logging as enabled. | ||
| 799 | IPC::ResponseBuilder rb{ctx, 3}; | 808 | IPC::ResponseBuilder rb{ctx, 3}; |
| 800 | rb.Push(RESULT_SUCCESS); | 809 | rb.Push(RESULT_SUCCESS); |
| 801 | rb.Push<u32>(5); | 810 | rb.PushEnum(LogMode::Log); |
| 802 | } | 811 | } |
| 803 | 812 | ||
| 804 | void FSP_SRV::OpenDataStorageByCurrentProcess(Kernel::HLERequestContext& ctx) { | 813 | void FSP_SRV::OpenDataStorageByCurrentProcess(Kernel::HLERequestContext& ctx) { |