mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-07 14:24:12 +08:00
修正亮度不存盘问题
This commit is contained in:
parent
05f5507323
commit
768c4992e1
@ -721,7 +721,7 @@ static int cfgIniCallback(void* user, const char* section, const char* name, con
|
|||||||
if(strcmp(section, "general") == 0)
|
if(strcmp(section, "general") == 0)
|
||||||
{
|
{
|
||||||
if(strcmp(name, "backlight") == 0)
|
if(strcmp(name, "backlight") == 0)
|
||||||
config->backlight = (u8)strtoul(value, NULL, 10);
|
config->backlight = (u16)strtoul(value, NULL, 10);
|
||||||
else if(strcmp(name, "directBoot") == 0)
|
else if(strcmp(name, "directBoot") == 0)
|
||||||
config->directBoot = (strcmp(value, "false") == 0 ? false : true);
|
config->directBoot = (strcmp(value, "false") == 0 ? false : true);
|
||||||
else if(strcmp(name, "useGbaDb") == 0)
|
else if(strcmp(name, "useGbaDb") == 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user