comparison saves.h @ 1692:5dacaef602a7 segacd

Merge from default
author Michael Pavone <pavone@retrodev.com>
date Sat, 05 Jan 2019 00:58:08 -0800
parents da1dce39e846
children 319d90025d50
comparison
equal deleted inserted replaced
1504:95b3a1a8b26c 1692:5dacaef602a7
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_