From 70fe0d22dedd283c385ff1ba4354ff5e4e0787ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sun, 30 Jun 2019 11:48:28 +0200 Subject: [PATCH] ncch_container: Fix code.bin replacement Currently, having a replacement code.bin causes Citra to crash as it is trying to load icon data from code.bin because of a typo. This commit fixes that typo. --- src/core/file_sys/ncch_container.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/file_sys/ncch_container.cpp b/src/core/file_sys/ncch_container.cpp index de767e8409..1a2a6c194c 100644 --- a/src/core/file_sys/ncch_container.cpp +++ b/src/core/file_sys/ncch_container.cpp @@ -559,7 +559,7 @@ Loader::ResultStatus NCCHContainer::LoadOverrideExeFSSection(const char* name, if (!strcmp(name, ".code")) override_name = "code.bin"; else if (!strcmp(name, "icon")) - override_name = "code.bin"; + override_name = "icon.bin"; else if (!strcmp(name, "banner")) override_name = "banner.bnr"; else if (!strcmp(name, "logo"))