1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-08 13:11:49 +00:00

fusee: fix log_inverted flag parse

This commit is contained in:
Michael Scire 2021-09-08 14:32:15 -07:00
parent 44beeecc9e
commit 31d44d821f

View file

@ -651,7 +651,7 @@ namespace ams::nxboot {
} else if (std::strcmp(entry.key, "log_baud_rate") == 0) { } else if (std::strcmp(entry.key, "log_baud_rate") == 0) {
storage_ctx.log_baud_rate = ParseDecimalInteger(entry.value); storage_ctx.log_baud_rate = ParseDecimalInteger(entry.value);
} else if (std::strcmp(entry.key, "log_inverted") == 0) { } else if (std::strcmp(entry.key, "log_inverted") == 0) {
if (entry.value[0] == 1) { if (entry.value[0] == '1') {
storage_ctx.log_flags |= uart::Flag_Inverted; storage_ctx.log_flags |= uart::Flag_Inverted;
} }
} }