diff options
author | t895 <clombardo169@gmail.com> | 2024-01-24 18:33:34 +0100 |
---|---|---|
committer | t895 <clombardo169@gmail.com> | 2024-01-25 18:53:48 +0100 |
commit | 1a3fc3724aa2d38e717a8dcbfcc6c8a808a693b6 (patch) | |
tree | bea2cc265f8c2ca59a2f642128e6ee6d1c1196a6 /src/frontend_common | |
parent | Merge pull request #12739 from t895/debug-keystore (diff) | |
download | yuzu-1a3fc3724aa2d38e717a8dcbfcc6c8a808a693b6.tar yuzu-1a3fc3724aa2d38e717a8dcbfcc6c8a808a693b6.tar.gz yuzu-1a3fc3724aa2d38e717a8dcbfcc6c8a808a693b6.tar.bz2 yuzu-1a3fc3724aa2d38e717a8dcbfcc6c8a808a693b6.tar.lz yuzu-1a3fc3724aa2d38e717a8dcbfcc6c8a808a693b6.tar.xz yuzu-1a3fc3724aa2d38e717a8dcbfcc6c8a808a693b6.tar.zst yuzu-1a3fc3724aa2d38e717a8dcbfcc6c8a808a693b6.zip |
Diffstat (limited to 'src/frontend_common')
-rw-r--r-- | src/frontend_common/content_manager.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/frontend_common/content_manager.h b/src/frontend_common/content_manager.h index 0b0fee73e..fb92a1695 100644 --- a/src/frontend_common/content_manager.h +++ b/src/frontend_common/content_manager.h @@ -368,4 +368,11 @@ inline GameVerificationResult VerifyGameContents( return GameVerificationResult::Success; } +/** + * Checks if the keys required for decrypting firmware and games are available + */ +inline bool AreKeysPresent() { + return !Core::Crypto::KeyManager::Instance().BaseDeriveNecessary(); +} + } // namespace ContentManager |