1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-18 08:22:04 +00:00

warmboot: remove superfluous firmware version check

This commit is contained in:
Michael Scire 2021-05-12 16:57:10 -07:00
parent 691a453d77
commit 99d7f72c51

View file

@ -36,7 +36,6 @@ namespace ams::warmboot {
void Main(const Metadata *metadata) {
/* Ensure that we're running under vaguely sane conditions. */
AMS_ABORT_UNLESS(metadata->magic == Metadata::Magic);
AMS_ABORT_UNLESS(metadata->target_firmware <= ams::TargetFirmware_Max);
/* Restrict the bpmp's access to dram. */
if (metadata->target_firmware >= TargetFirmware_4_0_0) {