1 // (c) Copyright 2006-2007 notaz, All rights reserved.
2 // Free for non-commercial use.
4 // For commercial use, separate licencing terms must be obtained.
8 int EmuOpt; // LSb->MSb: use_sram, show_fps, enable_sound, gzip_saves,
9 // squidgehack, no_save_cfg_on_exit, <unused>, 16_bit_mode
10 // craigix_ram, confirm_save, show_cd_leds, confirm_load
11 // A_SNs_gamma, perfect_vsync, interlace
12 int PicoOpt; // used for config saving only, see Pico.h
13 int PsndRate; // ditto
14 int PicoRegion; // ditto
23 int scaling; // 0=center, 1=hscale, 2=hvscale, 3=hsoftscale
27 extern currentConfig_t currentConfig;
28 extern char *PicoConfigFile;
29 extern unsigned char *rom_data;
30 extern char noticeMsg[64];
31 extern int state_slot;
32 extern int config_slot, config_slot_current;
33 extern unsigned char *movie_data;
36 int emu_ReloadRom(void);
37 int emu_SaveLoadGame(int load, int sram);
38 int emu_ReadConfig(int game, int no_defaults);
39 int emu_WriteConfig(int game);
40 char *emu_GetSaveFName(int load, int is_sram, int slot);
41 int emu_checkSaveFile(int slot);
42 void emu_setSaveStateCbs(int gz);
43 void emu_updateMovie(void);
44 int emu_cdCheck(int *pregion);
45 int emu_findBios(int region, char **bios_file);
46 void emu_textOut8 (int x, int y, const char *text);
47 void emu_textOut16(int x, int y, const char *text);