From 7805a3624ec134615ebba251602108198983de26 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Sat, 16 Oct 2021 12:26:17 -0700 Subject: [PATCH] fusee: accept non-zero rather than rejecting non-one for emummc enable --- fusee/program/source/fusee_setup_horizon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fusee/program/source/fusee_setup_horizon.cpp b/fusee/program/source/fusee_setup_horizon.cpp index 5aa0030ba..fbf51784a 100644 --- a/fusee/program/source/fusee_setup_horizon.cpp +++ b/fusee/program/source/fusee_setup_horizon.cpp @@ -146,7 +146,7 @@ namespace ams::nxboot { /* Handle individual fields. */ for (const auto &entry : section.kv_list) { 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) { id = ParseHexInteger(entry.value); } else if (std::strcmp(entry.key, "sector") == 0) {