| 407 | } |
| 408 | |
| 409 | void 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 | |
| 425 | void loadBios(const char* filename) { |
no test coverage detected