Skip to content

Commit

Permalink
fs: Update comment in Get[This]SaveDataSecureValue (#7359)
Browse files Browse the repository at this point in the history
Upon further research, I found out the unknown value in FS::Get[This]SaveDataSecureValue indicates that the requesting process is a game card. I have updated the comment for future reference.
  • Loading branch information
PabloMK7 authored Jan 15, 2024
1 parent a2d1c4a commit 6a7841d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/hle/service/fs/fs_user.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ void FS_USER::GetThisSaveDataSecureValue(Kernel::HLERequestContext& ctx) {
// TODO: Implement Secure Value Lookup & Generation

rb.Push<bool>(false); // indicates that the secure value doesn't exist
rb.Push<bool>(true); // seems to override checking the validity so should be true
rb.Push<bool>(true); // indicates the requesting process is a gamecard, overriding the check
rb.Push<u64>(0); // the secure value
}

Expand Down Expand Up @@ -931,7 +931,7 @@ void FS_USER::GetSaveDataSecureValue(Kernel::HLERequestContext& ctx) {
// TODO: Implement Secure Value Lookup & Generation

rb.Push<bool>(false); // indicates that the secure value doesn't exist
rb.Push<bool>(true); // seems to override checking the validity so should be true
rb.Push<bool>(true); // indicates the requesting process is a gamecard, overriding the check
rb.Push<u64>(0); // the secure value
}

Expand Down

0 comments on commit 6a7841d

Please sign in to comment.