Mercurial > repos > blastem
view saves.h @ 1960:f79e16d8baa4
megawifi: stub common commands to get config.
* CMD_AP_CFG_GET
* CMD_IP_CFG_GET
* CMD_DEF_AP_CFG_GET
* CMD_SERVER_URL_GET
author | doragasu <doragasu@hotmail.com> |
---|---|
date | Sun, 03 May 2020 12:39:05 -0700 |
parents | c3c62dbf1ceb |
children |
line wrap: on
line source
#ifndef SAVES_H_ #define SAVES_H_ #include <time.h> #include <stdint.h> #include "system.h" #define QUICK_SAVE_SLOT 10 #define SERIALIZE_SLOT 11 #define EVENTLOG_SLOT 12 typedef struct { char *desc; time_t modification_time; } save_slot_info; char *get_slot_name(system_header *system, uint32_t slot_index, char *ext); save_slot_info *get_slot_info(system_header *system, uint32_t *num_out); void free_slot_info(save_slot_info *slots); #endif //SAVES_H_