hos::Version: rename enum members

This commit is contained in:
Michael Scire 2020-04-13 22:19:44 -07:00
parent 79b9e07ee9
commit 6719abec65
78 changed files with 304 additions and 302 deletions

View file

@ -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);
}