mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-26 13:52:21 +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