Mercurial > repos > blastem
view saves.h @ 1700:e4b4e21a37fa
Output tables in order specified by the extra_tables field so the user can deal with dependencies between tables
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 25 Jan 2019 14:30:55 -0800 |
parents | 319d90025d50 |
children | c3c62dbf1ceb |
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 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_