[WIP] Configuration system

This commit is contained in:
KiritoDev 2021-05-31 23:59:41 -05:00
parent e4ff991fcf
commit 8776d666ba
1 changed files with 14 additions and 15 deletions

View File

@ -222,8 +222,7 @@ static s32 read_text_save(s32 fileIndex) {
printf("Loading savefile from '%s'\n", filename); printf("Loading savefile from '%s'\n", filename);
} }
ini_sget(savedata, "menu", "coin_score_age", "%d", ini_sget(savedata, "menu", "coin_score_age", "%d", &gSaveBuffer.menuData[0].coinScoreAges[fileIndex]);
&gSaveBuffer.menuData[0].coinScoreAges[fileIndex]);
value = ini_get(savedata, "menu", "sound_mode"); value = ini_get(savedata, "menu", "sound_mode");
if (value) { if (value) {