summaryrefslogtreecommitdiff
path: root/src/frontend_common
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend_common')
-rw-r--r--src/frontend_common/content_manager.h7
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(
368 return GameVerificationResult::Success; 368 return GameVerificationResult::Success;
369} 369}
370 370
371/**
372 * Checks if the keys required for decrypting firmware and games are available
373 */
374inline bool AreKeysPresent() {
375 return !Core::Crypto::KeyManager::Instance().BaseDeriveNecessary();
376}
377
371} // namespace ContentManager 378} // namespace ContentManager