From a6f254b5cf1ecdaa68be173dd80a11e34cffff93 Mon Sep 17 00:00:00 2001 From: Aurora Wright Date: Fri, 14 Apr 2017 14:42:42 +0200 Subject: [PATCH] Fix config derp --- source/main.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/main.c b/source/main.c index a634617..ac70259 100644 --- a/source/main.c +++ b/source/main.c @@ -94,9 +94,6 @@ void main(void) //Get pressed buttons u32 pressed = HID_PAD; - //Begin saving the new boot configuration - configData.config = (configData.config & 0xFFFFFF00) | ((u32)ISA9LH << 6); - //If it's a MCU reboot, try to force boot options if(ISA9LH && CFG_BOOTENV && needConfig != CREATE_CONFIGURATION) { @@ -233,7 +230,7 @@ boot: if(!ISFIRMLAUNCH) { - configData.config |= (u32)nandType | ((u32)firmSource << 3); + configData.config = (configData.config & 0xFFFFFF00) | ((u32)ISA9LH << 6) | ((u32)firmSource << 3) | (u32)nandType; writeConfig(false); }