summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-12-11 03:45:29 +0100
committerGitHub <noreply@github.com>2018-12-11 03:45:29 +0100
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
yuzu-1aa91062441ff136768535d5a0e9c7f2d476ab4a.tar.gz
yuzu-1aa91062441ff136768535d5a0e9c7f2d476ab4a.tar.bz2
yuzu-1aa91062441ff136768535d5a0e9c7f2d476ab4a.tar.lz
yuzu-1aa91062441ff136768535d5a0e9c7f2d476ab4a.tar.xz
yuzu-1aa91062441ff136768535d5a0e9c7f2d476ab4a.tar.zst
yuzu-1aa91062441ff136768535d5a0e9c7f2d476ab4a.zip
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&
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) {