mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-11-22 02:29: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.
|
//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.
|
assertf(!fclose(fp), "Couldn't close toml config file"); // TODO: work out why and handle appropriately.
|
||||||
fp = NULL;
|
fp = NULL;
|
||||||
|
|
||||||
@ -124,7 +124,7 @@ void settings_load_from_file (settings_t *settings) {
|
|||||||
wait_ms(10000);
|
wait_ms(10000);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
toml_free(conf);
|
toml_free(conf);
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
typedef struct {
|
typedef struct {
|
||||||
char *rom_path;
|
char *rom_path;
|
||||||
char *save_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.
|
bool save_writeback; // TODO: this is likely SC64 specific.
|
||||||
} settings_last_rom_t;
|
} settings_last_rom_t;
|
||||||
|
|
||||||
@ -27,6 +27,12 @@ typedef struct {
|
|||||||
boot_params_t boot_params;
|
boot_params_t boot_params;
|
||||||
} settings_t;
|
} 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_load_from_file (settings_t *settings);
|
||||||
void settings_save (void);
|
void settings_save (void);
|
||||||
|
Loading…
Reference in New Issue
Block a user