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:
parent
a2d1c4a94c
commit
6a7841d4b0
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue