X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=common%2Femu.h;h=518d5fdd0db857208b773dbe050cd76ca9f140e3;hb=662e622b59369f975691a70756f80188d8d27ea0;hp=b4984889a3c382c68eda9daa02dd76dfa1dc91be;hpb=6c026031a80434cda8499e2208538e0155466d6b;p=libpicofe.git diff --git a/common/emu.h b/common/emu.h index b498488..518d5fd 100644 --- a/common/emu.h +++ b/common/emu.h @@ -28,7 +28,7 @@ extern int g_screen_height; #define EOPT_GZIP_SAVES (1<<3) #define EOPT_MMUHACK (1<<4) #define EOPT_NO_AUTOSVCFG (1<<5) -#define EOPT_16BPP (1<<7) +#define EOPT_16BPP (1<<7) // depreceted for .renderer #define EOPT_RAM_TIMINGS (1<<8) #define EOPT_CONFIRM_SAVE (1<<9) #define EOPT_EN_CD_LEDS (1<<10) @@ -67,6 +67,8 @@ typedef struct _currentConfig_t { float hscale32, hscale40; // psp: horizontal scale int gamma2; // psp: black level int turbo_rate; + int renderer; + int renderer32x; } currentConfig_t; extern currentConfig_t currentConfig, defaultConfig; @@ -117,6 +119,7 @@ int emu_swap_cd(const char *fname); int emu_save_load_game(int load, int sram); void emu_reset_game(void); +void emu_prep_defconfig(void); void emu_set_defconfig(void); int emu_read_config(int game, int no_defaults); int emu_write_config(int game);