mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-22 20:06:40 +00:00
fusee: accept non-zero rather than rejecting non-one for emummc enable
This commit is contained in:
parent
64950dbd31
commit
7805a3624e
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ namespace ams::nxboot {
|
||||||
/* Handle individual fields. */
|
/* Handle individual fields. */
|
||||||
for (const auto &entry : section.kv_list) {
|
for (const auto &entry : section.kv_list) {
|
||||||
if (std::strcmp(entry.key, "enabled") == 0) {
|
if (std::strcmp(entry.key, "enabled") == 0) {
|
||||||
enabled = entry.value[0] == '1';
|
enabled = entry.value[0] != '0';
|
||||||
} else if (std::strcmp(entry.key, "id") == 0) {
|
} else if (std::strcmp(entry.key, "id") == 0) {
|
||||||
id = ParseHexInteger(entry.value);
|
id = ParseHexInteger(entry.value);
|
||||||
} else if (std::strcmp(entry.key, "sector") == 0) {
|
} else if (std::strcmp(entry.key, "sector") == 0) {
|
||||||
|
|
Loading…
Reference in a new issue