Fix a bug where games would almost always start up with the main screen at low brightness and touch screen completely off. (Regression from commit f5c9a36.)
This commit is contained in:
parent
ff4a3e0a5c
commit
addb17b660
|
@ -1011,10 +1011,11 @@ void MMU_Reset()
|
|||
|
||||
MMU.powerMan_CntReg = 0x00;
|
||||
MMU.powerMan_CntRegWritten = FALSE;
|
||||
MMU.powerMan_Reg[0] = 0x0B;
|
||||
MMU.powerMan_Reg[0] = 0x0D;
|
||||
MMU.powerMan_Reg[1] = 0x00;
|
||||
MMU.powerMan_Reg[2] = 0x01;
|
||||
MMU.powerMan_Reg[3] = 0x00;
|
||||
MMU.powerMan_Reg[4] = 0x03;
|
||||
|
||||
rtcInit();
|
||||
partie = 1;
|
||||
|
|
|
@ -798,7 +798,7 @@ static void fill_user_data_area( struct NDS_fw_config_data *user_settings,u8 *da
|
|||
}
|
||||
|
||||
//language and flags
|
||||
data[0x64] = user_settings->language;
|
||||
data[0x64] = user_settings->language | 0x30; // Also set bits 4 and 5 to set the backlight level to max.
|
||||
data[0x65] = 0xfc;
|
||||
|
||||
//update count and crc
|
||||
|
|
Loading…
Reference in New Issue