mirror of
https://github.com/0ldsk00l/nestopia.git
synced 2024-06-02 19:38:20 -04:00
57 lines
1.3 KiB
C
57 lines
1.3 KiB
C
#ifndef _MAIN_H_
|
|
#define _MAIN_H_
|
|
|
|
#define VERSION "1.49-WIP"
|
|
|
|
typedef struct {
|
|
char nstdir[256];
|
|
char savedir[256];
|
|
char gamename[256];
|
|
char savename[512];
|
|
char fdssave[512];
|
|
char statepath[512];
|
|
char cheatpath[512];
|
|
char palettepath[512];
|
|
} nstpaths_t;
|
|
|
|
bool nst_archive_checkext(const char *filename);
|
|
bool nst_archive_handle(const char *filename, char **rom, int *romsize, const char *reqfile);
|
|
bool nst_find_patch(char *patchname, unsigned int patchname_length, const char *filename);
|
|
void nst_load_db();
|
|
void nst_load_fds_bios();
|
|
void nst_load_palette(const char *filename);
|
|
void nst_load(const char *filename);
|
|
void nst_play();
|
|
void nst_pause();
|
|
void nst_reset(bool hardreset);
|
|
void nst_schedule_quit();
|
|
void nst_set_dirs();
|
|
void nst_set_region();
|
|
void nst_set_rewind(int direction);
|
|
|
|
void nst_set_paths(const char *filename);
|
|
|
|
void nst_state_save(char *filename);
|
|
void nst_state_load(char *filename);
|
|
void nst_state_quicksave(int isvst);
|
|
void nst_state_quickload(int isvst);
|
|
|
|
void nst_movie_save(char *filename);
|
|
void nst_movie_load(char *filename);
|
|
void nst_movie_stop();
|
|
|
|
void nst_fds_info();
|
|
void nst_flip_disk();
|
|
void nst_switch_disk();
|
|
|
|
void nst_dipswitch();
|
|
|
|
void nst_inputloop_sdl();
|
|
|
|
void nst_emuloop();
|
|
int nst_timing_runframes();
|
|
void nst_timing_set_ffspeed();
|
|
void nst_timing_set_default();
|
|
|
|
#endif
|