Mercurial > repos > blastem
comparison saves.h @ 1541:f8ef74e7c800
Merged nuklear_ui into default
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 25 Mar 2018 12:01:49 -0700 |
parents | da1dce39e846 |
children | 319d90025d50 |
comparison
equal
deleted
inserted
replaced
1533:78b7fc03c7c6 | 1541:f8ef74e7c800 |
---|---|
1 #ifndef SAVES_H_ | |
2 #define SAVES_H_ | |
3 | |
4 #include <time.h> | |
5 #include <stdint.h> | |
6 #include "system.h" | |
7 | |
8 #define QUICK_SAVE_SLOT 10 | |
9 | |
10 typedef struct { | |
11 char *desc; | |
12 time_t modification_time; | |
13 } save_slot_info; | |
14 | |
15 char *get_slot_name(system_header *system, uint32_t slot_index, char *ext); | |
16 save_slot_info *get_slot_info(system_header *system, uint32_t *num_out); | |
17 void free_slot_info(save_slot_info *slots); | |
18 | |
19 #endif //SAVES_H_ |