MCPcopy Create free account
hub / github.com/Stewmath/GameYob / writeConfigFile

Function writeConfigFile

arm9/source/inputhelper.cpp:409–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407}
408
409void writeConfigFile() {
410 FILE* file = fopen("/gameyobds.ini", "w");
411 fiprintf(file, "[general]\n");
412 generalPrintConfig(file);
413 fiprintf(file, "[console]\n");
414 menuPrintConfig(file);
415 fiprintf(file, "[controls]\n");
416 controlsPrintConfig(file);
417 fclose(file);
418
419 char nameBuf[100];
420 siprintf(nameBuf, "%s.cht", basename);
421 saveCheats(nameBuf);
422}
423
424
425void loadBios(const char* filename) {

Callers 1

saveSettingsFuncFunction · 0.85

Calls 4

generalPrintConfigFunction · 0.85
menuPrintConfigFunction · 0.85
controlsPrintConfigFunction · 0.85
saveCheatsFunction · 0.85

Tested by

no test coverage detected