mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-27 13:46:54 +00:00
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
|
@ -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