#ifndef __MDFN_STATE_DRIVER_H
#define __MDFN_STATE_DRIVER_H

#include "video.h"
#include "state-common.h"

void MDFNI_SelectState(int);

/* "fname" overrides the default save state filename code if non-NULL. */
/* If suffix is set, just override the default suffix(mc0-mc9) */
void MDFNI_SaveState(const char *fname, const char *suffix, const MDFN_Surface *surface, const MDFN_Rect *DisplayRect, const int32 *LineWidths);
void MDFNI_LoadState(const char *fname, const char *suffix);
void MDFNI_EnableStateRewind(int enable);


void MDFND_SetStateStatus(StateStatusStruct *status);
void MDFND_SetMovieStatus(StateStatusStruct *status);

#endif
