mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2025-02-16 20:29:12 +01:00
31 lines
599 B
C
31 lines
599 B
C
#ifndef CFG_H__
|
|
#define CFG_H__
|
|
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
|
|
typedef enum {
|
|
SAVE_TYPE_NONE = 0,
|
|
SAVE_TYPE_EEPROM_4K = 1,
|
|
SAVE_TYPE_EEPROM_16K = 2,
|
|
SAVE_TYPE_SRAM = 3,
|
|
SAVE_TYPE_FLASHRAM = 4,
|
|
SAVE_TYPE_SRAM_BANKED = 5
|
|
} save_type_t;
|
|
|
|
|
|
uint32_t cfg_get_version (void);
|
|
bool cfg_query (uint32_t *args);
|
|
bool cfg_update (uint32_t *args);
|
|
save_type_t cfg_get_save_type (void);
|
|
void cfg_get_time (uint32_t *args);
|
|
void cfg_set_time (uint32_t *args);
|
|
void cfg_reset_state (void);
|
|
void cfg_init (void);
|
|
void cfg_process (void);
|
|
|
|
|
|
#endif
|