mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-11-21 18:19:19 +01:00
Minor fixes and comments
This commit is contained in:
parent
abcff3feaf
commit
993b3f7d05
@ -40,7 +40,7 @@ void settings_load_from_file (settings_t *settings) {
|
||||
//assertf(!conf, "Couldn't parse toml config: %s", error_buffer); // TODO: work out why and handle appropriately.
|
||||
}
|
||||
|
||||
fclose(fp);
|
||||
//fclose(fp);
|
||||
assertf(!fclose(fp), "Couldn't close toml config file"); // TODO: work out why and handle appropriately.
|
||||
fp = NULL;
|
||||
|
||||
@ -124,7 +124,7 @@ void settings_load_from_file (settings_t *settings) {
|
||||
wait_ms(10000);
|
||||
}
|
||||
else {
|
||||
|
||||
|
||||
}
|
||||
|
||||
toml_free(conf);
|
||||
|
@ -12,7 +12,7 @@
|
||||
typedef struct {
|
||||
char *rom_path;
|
||||
char *save_path;
|
||||
flashcart_save_type_t save_type; //TODO: should this be converted from a string, or use an integer value?
|
||||
flashcart_save_type_t save_type; //TODO: should this be converted from a string, or only use an integer value?
|
||||
bool save_writeback; // TODO: this is likely SC64 specific.
|
||||
} settings_last_rom_t;
|
||||
|
||||
@ -27,6 +27,12 @@ typedef struct {
|
||||
boot_params_t boot_params;
|
||||
} settings_t;
|
||||
|
||||
// TODO:
|
||||
// Menu layout: list vs grid
|
||||
// Hide extensions
|
||||
// Hide hidden files and dirs
|
||||
// colour scheme
|
||||
// background pic
|
||||
|
||||
void settings_load_from_file (settings_t *settings);
|
||||
void settings_save (void);
|
||||
|
Loading…
Reference in New Issue
Block a user