MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / GetSystemKeyGeneration

Function GetSystemKeyGeneration

Goldleaf/source/hos/hos_Common.cpp:288–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286 }
287
288 u8 GetSystemKeyGeneration() {
289 if(!g_SystemKeyGenerationRead) {
290 g_SystemKeyGeneration = GetKeyGenerationFromPackage1KeyGeneration(GetSystemPackage1KeyGeneration());
291 g_SystemKeyGenerationRead = true;
292 }
293
294 return g_SystemKeyGeneration;
295 }
296
297 std::string GetKeyGenerationRange(const u8 key_gen) {
298 const auto pkg1_key_gen = GetPackage1KeyGenerationFromKeyGeneration(key_gen);

Callers 2

PrepareInstallationMethod · 0.85

Tested by

no test coverage detected