Implement support for 9.1.0

This commit is contained in:
Michael Scire
2019-12-07 13:44:08 -08:00
parent 48b0b2fc46
commit 33827fe3a3
22 changed files with 71 additions and 26 deletions

View File

@@ -33,6 +33,7 @@ namespace ams::exosphere {
TargetFirmware_800 = 9,
TargetFirmware_810 = 10,
TargetFirmware_900 = 11,
TargetFirmware_910 = 12,
};
#ifdef ATMOSPHERE_H
@@ -50,6 +51,7 @@ namespace ams::exosphere {
AMS_VALIDATE_TARGET_FIRMWARE_ENUM(800);
AMS_VALIDATE_TARGET_FIRMWARE_ENUM(810);
AMS_VALIDATE_TARGET_FIRMWARE_ENUM(900);
AMS_VALIDATE_TARGET_FIRMWARE_ENUM(910);
#undef AMS_VALIDATE_TARGET_FIRMWARE_ENUM

View File

@@ -31,7 +31,8 @@ namespace ams::hos {
Version_800 = 7,
Version_810 = 8,
Version_900 = 9,
Version_Current = Version_900,
Version_910 = 10,
Version_Current = Version_910,
Version_Max = 32,
};

View File

@@ -66,6 +66,8 @@ namespace ams::hos {
break;
case exosphere::TargetFirmware_900:
g_hos_version = hos::Version_900;
case exosphere::TargetFirmware_910:
g_hos_version = hos::Version_910;
break;
AMS_UNREACHABLE_DEFAULT_CASE();
}
@@ -132,6 +134,10 @@ namespace ams::hos {
major = 9;
minor = 0;
micro = 0;
case hos::Version_910:
major = 9;
minor = 1;
micro = 0;
break;
AMS_UNREACHABLE_DEFAULT_CASE();
}