summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2020-08-23 16:46:49 -0400
committerGravatar Lioncash2020-08-23 17:16:32 -0400
commit4c1a95ed6147b64e6cb52d5cfbb5b35cba44fcdd (patch)
treeeeca528034b5089d18ac42da076fca158edc1907 /src
parentfsp_srv: Resolve -Wmaybe_uninitialized warning in OpenSaveDataFileSystem() (diff)
downloadyuzu-4c1a95ed6147b64e6cb52d5cfbb5b35cba44fcdd.tar.gz
yuzu-4c1a95ed6147b64e6cb52d5cfbb5b35cba44fcdd.tar.xz
yuzu-4c1a95ed6147b64e6cb52d5cfbb5b35cba44fcdd.zip
fsp_srv: Resolve -Wunused-but-set-variable warning
We can just log out the parameters in the meantime.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/filesystem/fsp_srv.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp
index 84ff1ff89..649128be4 100644
--- a/src/core/hle/service/filesystem/fsp_srv.cpp
+++ b/src/core/hle/service/filesystem/fsp_srv.cpp
@@ -905,7 +905,14 @@ void FSP_SRV::ReadSaveDataFileSystemExtraDataWithMaskBySaveDataAttribute(
905 // Stub this to None for now, backend needs an impl to read/write the SaveDataExtraData 905 // Stub this to None for now, backend needs an impl to read/write the SaveDataExtraData
906 constexpr auto flags = static_cast<u32>(FileSys::SaveDataFlags::None); 906 constexpr auto flags = static_cast<u32>(FileSys::SaveDataFlags::None);
907 907
908 LOG_WARNING(Service_FS, "(STUBBED) called, flags={}", flags); 908 LOG_WARNING(Service_FS,
909 "(STUBBED) called, flags={}, space_id={}, attribute.title_id={:016X}\n"
910 "attribute.user_id={:016X}{:016X}, attribute.save_id={:016X}\n"
911 "attribute.type={}, attribute.rank={}, attribute.index={}",
912 flags, static_cast<u32>(parameters.space_id), parameters.attribute.title_id,
913 parameters.attribute.user_id[1], parameters.attribute.user_id[0],
914 parameters.attribute.save_id, static_cast<u32>(parameters.attribute.type),
915 static_cast<u32>(parameters.attribute.rank), parameters.attribute.index);
909 916
910 IPC::ResponseBuilder rb{ctx, 3}; 917 IPC::ResponseBuilder rb{ctx, 3};
911 rb.Push(RESULT_SUCCESS); 918 rb.Push(RESULT_SUCCESS);