mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-06 04:01:44 +00:00
Loader: Fix off-by-one in SDK nso header loading.
This commit is contained in:
parent
73b6225d2e
commit
7227817b99
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ Result NsoUtils::LoadNsoHeaders(u64 title_id) {
|
||||||
}
|
}
|
||||||
if (1 < i && i < 12) {
|
if (1 < i && i < 12) {
|
||||||
/* If we failed to open a subsdk, there are no more subsdks. */
|
/* If we failed to open a subsdk, there are no more subsdks. */
|
||||||
i = 12;
|
i = 11;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue