From 7227817b99fd766e6da299c361b9d538a85f58c3 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 23 Apr 2018 20:10:01 -0600 Subject: [PATCH] Loader: Fix off-by-one in SDK nso header loading. --- stratosphere/loader/source/ldr_nso.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stratosphere/loader/source/ldr_nso.cpp b/stratosphere/loader/source/ldr_nso.cpp index 3fbcfba54..f3372cbbc 100644 --- a/stratosphere/loader/source/ldr_nso.cpp +++ b/stratosphere/loader/source/ldr_nso.cpp @@ -49,7 +49,7 @@ Result NsoUtils::LoadNsoHeaders(u64 title_id) { } if (1 < i && i < 12) { /* If we failed to open a subsdk, there are no more subsdks. */ - i = 12; + i = 11; } }