fs: Update comment in Get[This]SaveDataSecureValue (#7359)

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.
This commit is contained in:
PabloMK7 2024-01-15 20:42:28 +01:00 committed by GitHub
parent a2d1c4a94c
commit 6a7841d4b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -893,7 +893,7 @@ void FS_USER::GetThisSaveDataSecureValue(Kernel::HLERequestContext& ctx) {
// TODO: Implement Secure Value Lookup & Generation // TODO: Implement Secure Value Lookup & Generation
rb.Push<bool>(false); // indicates that the secure value doesn't exist 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 rb.Push<u64>(0); // the secure value
} }
@ -931,7 +931,7 @@ void FS_USER::GetSaveDataSecureValue(Kernel::HLERequestContext& ctx) {
// TODO: Implement Secure Value Lookup & Generation // TODO: Implement Secure Value Lookup & Generation
rb.Push<bool>(false); // indicates that the secure value doesn't exist 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 rb.Push<u64>(0); // the secure value
} }