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.
This commit is contained in:
parent
0b4be6e53a
commit
70fe0d22de
1 changed files with 1 additions and 1 deletions
|
@ -559,7 +559,7 @@ Loader::ResultStatus NCCHContainer::LoadOverrideExeFSSection(const char* name,
|
||||||
if (!strcmp(name, ".code"))
|
if (!strcmp(name, ".code"))
|
||||||
override_name = "code.bin";
|
override_name = "code.bin";
|
||||||
else if (!strcmp(name, "icon"))
|
else if (!strcmp(name, "icon"))
|
||||||
override_name = "code.bin";
|
override_name = "icon.bin";
|
||||||
else if (!strcmp(name, "banner"))
|
else if (!strcmp(name, "banner"))
|
||||||
override_name = "banner.bnr";
|
override_name = "banner.bnr";
|
||||||
else if (!strcmp(name, "logo"))
|
else if (!strcmp(name, "logo"))
|
||||||
|
|
Loading…
Reference in a new issue