mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-07 14:24:12 +08:00
知道后面多了个0,试试看能不能去掉
This commit is contained in:
parent
ac2de90661
commit
60f462be79
@ -251,11 +251,11 @@ static atp_pageopt_t config_adjust( atp_callerdata_t, atp_counter_t index, atp_b
|
|||||||
char *data = malloc( len );
|
char *data = malloc( len );
|
||||||
if( data == NULL ) return ATP_PAGE_DOSELECT; // only ignore this save
|
if( data == NULL ) return ATP_PAGE_DOSELECT; // only ignore this save
|
||||||
|
|
||||||
ee_snprintf(
|
len = ee_snprintf(
|
||||||
data, len, CONFIG_OUTPUT,
|
data, len, CONFIG_OUTPUT,
|
||||||
g_oafConfig.backlight, g_oafConfig.directBoot ? "true":"false", g_oafConfig.scaler, g_oafConfig.cheatMode
|
g_oafConfig.backlight, g_oafConfig.directBoot ? "true":"false", g_oafConfig.scaler, g_oafConfig.cheatMode
|
||||||
);
|
);
|
||||||
fsQuickWrite("config.ini", data, strlen(data));
|
fsQuickWrite("config.ini", data, len);
|
||||||
free( data );
|
free( data );
|
||||||
return ATP_PAGE_DOSELECT;
|
return ATP_PAGE_DOSELECT;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user