diff options
author | Subv <subv2112@gmail.com> | 2015-06-02 04:26:40 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-06-02 04:48:19 +0200 |
commit | 66c1db72887b6bd94c14cb63256a1aff8f4d76a3 (patch) | |
tree | e8e3a6fac7967d58e61e83c4fde18600248b965d /src/core/hle/service/fs/fs_user.cpp | |
parent | Merge pull request #838 from lioncash/thumb (diff) | |
download | yuzu-66c1db72887b6bd94c14cb63256a1aff8f4d76a3.tar yuzu-66c1db72887b6bd94c14cb63256a1aff8f4d76a3.tar.gz yuzu-66c1db72887b6bd94c14cb63256a1aff8f4d76a3.tar.bz2 yuzu-66c1db72887b6bd94c14cb63256a1aff8f4d76a3.tar.lz yuzu-66c1db72887b6bd94c14cb63256a1aff8f4d76a3.tar.xz yuzu-66c1db72887b6bd94c14cb63256a1aff8f4d76a3.tar.zst yuzu-66c1db72887b6bd94c14cb63256a1aff8f4d76a3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/fs/fs_user.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/core/hle/service/fs/fs_user.cpp b/src/core/hle/service/fs/fs_user.cpp index 32db773bb..0ad44e55e 100644 --- a/src/core/hle/service/fs/fs_user.cpp +++ b/src/core/hle/service/fs/fs_user.cpp @@ -504,9 +504,9 @@ static void FormatThisUserSaveData(Service::Interface* self) { * 6 : Unknown * 7 : Unknown * 8 : Unknown - * 9 : Unknown - * 10: Unknown - * 11: Unknown + * 9 : Size of the SMDH icon + * 10: (SMDH Size << 4) | 0x0000000A + * 11: Pointer to the SMDH icon for the new ExtSaveData * Outputs: * 1 : Result of function, 0 on success, otherwise error code */ @@ -516,14 +516,16 @@ static void CreateExtSaveData(Service::Interface* self) { MediaType media_type = static_cast<MediaType>(cmd_buff[1] & 0xFF); u32 save_low = cmd_buff[2]; u32 save_high = cmd_buff[3]; + u32 icon_size = cmd_buff[9]; + VAddr icon_buffer = cmd_buff[11]; LOG_WARNING(Service_FS, "(STUBBED) savedata_high=%08X savedata_low=%08X cmd_buff[3]=%08X " "cmd_buff[4]=%08X cmd_buff[5]=%08X cmd_buff[6]=%08X cmd_buff[7]=%08X cmd_buff[8]=%08X " - "cmd_buff[9]=%08X cmd_buff[10]=%08X cmd_buff[11]=%08X", save_high, save_low, - cmd_buff[3], cmd_buff[4], cmd_buff[5], cmd_buff[6], cmd_buff[7], cmd_buff[8], cmd_buff[9], - cmd_buff[10], cmd_buff[11]); + "icon_size=%08X icon_descriptor=%08X icon_buffer=%08X", save_high, save_low, + cmd_buff[3], cmd_buff[4], cmd_buff[5], cmd_buff[6], cmd_buff[7], cmd_buff[8], icon_size, + cmd_buff[10], icon_buffer); - cmd_buff[1] = CreateExtSaveData(media_type, save_high, save_low).raw; + cmd_buff[1] = CreateExtSaveData(media_type, save_high, save_low, icon_buffer, icon_size).raw; } /** |