mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-14 15:14:23 -04:00
exo2: cache soc type/hardware type for quick lookup
This commit is contained in:
parent
a0b08d0540
commit
99e0448f30
4 changed files with 38 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue