1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-26 22:02:15 +00:00

exo: fix off-by-one

This commit is contained in:
Michael Scire 2019-12-31 13:29:08 -08:00
parent 11ec6a6912
commit 5fbd728962

View file

@ -278,7 +278,7 @@ uint32_t fuse_get_expected_fuse_version(uint32_t target_firmware) {
[ATMOSPHERE_TARGET_FIRMWARE_910] = 12,
};
if (target_firmware >= ATMOSPHERE_TARGET_FIRMWARE_COUNT) {
if (target_firmware > ATMOSPHERE_TARGET_FIRMWARE_COUNT) {
generic_panic();
}