mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-28 05:34:11 -04:00
hos::Version: rename enum members
This commit is contained in:
parent
79b9e07ee9
commit
6719abec65
78 changed files with 304 additions and 302 deletions
|
@ -53,7 +53,7 @@ namespace ams::ldr {
|
|||
|
||||
/* Validate flags. */
|
||||
u32 mask = ~0x1F;
|
||||
if (hos::GetVersion() < hos::Version_700) {
|
||||
if (hos::GetVersion() < hos::Version_7_0_0) {
|
||||
/* 7.0.0 added 0x10 as a valid bit to NPDM flags, so before that we only check 0xF. */
|
||||
mask = ~0xF;
|
||||
}
|
||||
|
@ -167,7 +167,7 @@ namespace ams::ldr {
|
|||
Meta *o_meta = &g_original_meta_cache.meta;
|
||||
|
||||
/* Fix pool partition. */
|
||||
if (hos::GetVersion() >= hos::Version_500) {
|
||||
if (hos::GetVersion() >= hos::Version_5_0_0) {
|
||||
meta->acid->flags = (meta->acid->flags & 0xFFFFFFC3) | (o_meta->acid->flags & 0x0000003C);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue