mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-28 02:14:07 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue