2023-07-16 12:21:52 +02:00
|
|
|
/**
|
|
|
|
* @file settings.h
|
|
|
|
* @brief Menu Settings
|
|
|
|
* @ingroup menu
|
|
|
|
*/
|
|
|
|
|
2023-02-24 15:24:59 +01:00
|
|
|
#ifndef SETTINGS_H__
|
|
|
|
#define SETTINGS_H__
|
|
|
|
|
|
|
|
|
2023-07-16 12:21:52 +02:00
|
|
|
/** @brief Settings Structure */
|
2023-02-24 15:24:59 +01:00
|
|
|
typedef struct {
|
2023-07-16 13:13:02 +02:00
|
|
|
/** @brief Select 60 Hz refresh rate if running on PAL console */
|
2023-07-11 18:00:18 +02:00
|
|
|
bool pal60;
|
2023-07-16 13:13:02 +02:00
|
|
|
|
|
|
|
/** @brief Show files marked as hidden in the browser */
|
2023-07-11 18:00:18 +02:00
|
|
|
bool show_hidden_files;
|
2023-07-16 13:13:02 +02:00
|
|
|
|
|
|
|
/** @brief Default directory to navigate to when menu loads */
|
2023-07-11 18:00:18 +02:00
|
|
|
char *default_directory;
|
2023-08-18 22:19:01 +02:00
|
|
|
|
|
|
|
/** @brief Put saves into separate directory */
|
|
|
|
bool use_saves_folder;
|
2023-07-11 18:00:18 +02:00
|
|
|
} settings_t;
|
2023-02-24 15:24:59 +01:00
|
|
|
|
|
|
|
|
2023-07-16 13:13:02 +02:00
|
|
|
void settings_load (settings_t *settings);
|
|
|
|
void settings_save (settings_t *settings);
|
2023-02-24 15:24:59 +01:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|