exo2: cache soc type/hardware type for quick lookup

This commit is contained in:
Michael Scire authored and SciresM committed 2020-06-14 22:07:45 -07:00
1 parent a0b08d0540
commit 99e0448f30
4 files changed
+38 -3

No files matched your search

@@ -245,7 +245,7 @@ namespace ams::secmon::boot {
void DeriveAllKeys() {
/* Determine whether we're prod. */
const bool is_prod = fuse::GetHardwareState() != fuse::HardwareState_Development;
const bool is_prod = IsProduction();
/* Get the ephemeral work block. */
u8 * const work_block = se::GetEphemeralWorkBlock();