X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fcommon%2Femu.h;h=518d5fdd0db857208b773dbe050cd76ca9f140e3;hb=b4db550e41b2aa277f570d7bff890c8e8ee1831f;hp=5b695ef9171bdd93f7d11196896ee5ff029570a0;hpb=3e49ffd0bf13f3a889cfb5196c2a61962dff6d0b;p=picodrive.git diff --git a/platform/common/emu.h b/platform/common/emu.h index 5b695ef..518d5fd 100644 --- a/platform/common/emu.h +++ b/platform/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) @@ -41,6 +41,7 @@ extern int g_screen_height; #define EOPT_SHOW_RTC (1<<17) #define EOPT_NO_FRMLIMIT (1<<18) #define EOPT_WIZ_TEAR_FIX (1<<19) +#define EOPT_EXT_FRMLIMIT (1<<20) // no internal frame limiter (limited by snd, etc) enum { EOPT_SCALE_NONE = 0, @@ -66,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; @@ -116,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);