view saves.h @ 1611:dafe2a8769fd

Added ROM DB entry for Squirrel King as it has a flip flop or some type of RAM at $400000 as a copy protection measure
author Michael Pavone <pavone@retrodev.com>
date Tue, 14 Aug 2018 00:22:10 -0700
parents da1dce39e846
children 319d90025d50
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

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_