mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-25 20:24:21 -04:00
Implement support for parsing/interacting with NCAs. (#942)
* fs: implement support for interacting with ncas. * spl: extend to use virtual keyslots
This commit is contained in:
parent
3a1ccdd919
commit
81f91803ec
118 changed files with 13301 additions and 405 deletions
|
@ -49,6 +49,14 @@ namespace ams::hos {
|
|||
return g_hos_version;
|
||||
}
|
||||
|
||||
|
||||
void SetVersionForLibnxInternalDebug(hos::Version debug_version) {
|
||||
std::scoped_lock lk(g_mutex);
|
||||
g_hos_version = debug_version;
|
||||
__atomic_store_n(&g_has_cached, true, __ATOMIC_SEQ_CST);
|
||||
SetVersionForLibnxInternal();
|
||||
}
|
||||
|
||||
void SetVersionForLibnxInternal() {
|
||||
const u32 hos_version_val = static_cast<u32>(hos::GetVersion());
|
||||
const u32 major = (hos_version_val >> 24) & 0xFF;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue