summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar bunnei2018-12-10 21:45:29 -0500
committerGravatar GitHub2018-12-10 21:45:29 -0500
commit1aa91062441ff136768535d5a0e9c7f2d476ab4a (patch)
treecec443922833343cbd8139f29b7c56512f55180d /src/core
parentMerge pull request #1885 from lioncash/data_id (diff)
parentservice/fsp_srv: Correct returned value in GetGlobalAccessLogMode() (diff)
downloadyuzu-1aa91062441ff136768535d5a0e9c7f2d476ab4a.tar.gz
yuzu-1aa91062441ff136768535d5a0e9c7f2d476ab4a.tar.xz
yuzu-1aa91062441ff136768535d5a0e9c7f2d476ab4a.zip
Merge pull request #1883 from lioncash/log-fsp
service/fsp_srv: Correct returned value in GetGlobalAccessLogMode()
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/filesystem/fsp_srv.cpp11
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&
796void FSP_SRV::GetGlobalAccessLogMode(Kernel::HLERequestContext& ctx) { 796void 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
804void FSP_SRV::OpenDataStorageByCurrentProcess(Kernel::HLERequestContext& ctx) { 813void FSP_SRV::OpenDataStorageByCurrentProcess(Kernel::HLERequestContext& ctx) {