Fix config derp

This commit is contained in:
Aurora Wright 2017-04-14 14:42:42 +02:00
parent 00dbbe1b28
commit a6f254b5cf

View File

@ -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);
}