mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 12:21:18 +00:00
exo: fix off-by-one
This commit is contained in:
parent
11ec6a6912
commit
5fbd728962
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue