diff options
author | Subv <subv2112@gmail.com> | 2015-01-14 05:56:00 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-01-24 21:44:40 +0100 |
commit | c2e9990149fc0b5ef937adf24285eb7cc7526893 (patch) | |
tree | a3d8d671f45ef0b17f5c247e03dbf4b13347b4c2 /src/core/hle/service/fs/fs_user.cpp | |
parent | Merge pull request #493 from archshift/ptmplay (diff) | |
download | yuzu-c2e9990149fc0b5ef937adf24285eb7cc7526893.tar yuzu-c2e9990149fc0b5ef937adf24285eb7cc7526893.tar.gz yuzu-c2e9990149fc0b5ef937adf24285eb7cc7526893.tar.bz2 yuzu-c2e9990149fc0b5ef937adf24285eb7cc7526893.tar.lz yuzu-c2e9990149fc0b5ef937adf24285eb7cc7526893.tar.xz yuzu-c2e9990149fc0b5ef937adf24285eb7cc7526893.tar.zst yuzu-c2e9990149fc0b5ef937adf24285eb7cc7526893.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/fs/fs_user.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/hle/service/fs/fs_user.cpp b/src/core/hle/service/fs/fs_user.cpp index 56f3117f4..c495b6f3c 100644 --- a/src/core/hle/service/fs/fs_user.cpp +++ b/src/core/hle/service/fs/fs_user.cpp @@ -484,6 +484,15 @@ static void FormatThisUserSaveData(Service::Interface* self) { cmd_buff[1] = FormatSaveData().raw; } +static void CreateExtSaveData(Service::Interface* self) { + // TODO(Subv): Figure out the other parameters. + u32* cmd_buff = Kernel::GetCommandBuffer(); + u32 save_high = cmd_buff[1]; + u32 save_low = cmd_buff[2]; + // TODO(Subv): For now it is assumed that only SharedExtSaveData can be created like this + cmd_buff[1] = CreateExtSaveData(save_high, save_low).raw; +} + const FSUserInterface::FunctionInfo FunctionTable[] = { {0x000100C6, nullptr, "Dummy1"}, {0x040100C4, nullptr, "Control"}, @@ -567,6 +576,8 @@ const FSUserInterface::FunctionInfo FunctionTable[] = { {0x084E0342, nullptr, "UpdateSha256Context"}, {0x084F0102, nullptr, "ReadSpecialFile"}, {0x08500040, nullptr, "GetSpecialFileSize"}, + {0x08510242, CreateExtSaveData, "CreateExtSaveData"}, + {0x08520100, nullptr, "DeleteExtSaveData"}, {0x08580000, nullptr, "GetMovableSedHashedKeyYRandomData"}, {0x08610042, nullptr, "InitializeWithSdkVersion"}, {0x08620040, nullptr, "SetPriority"}, |