X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=common%2Femu.h;h=75a5abe3e2516650e5008040dc3d002a2383cdf6;hb=ca69c3e5a0ecf407c02dc85c6f3282ebb1efc5a2;hp=f51907ffeb45c83c63a2f8ceea1b1dd6cb55131e;hpb=0c9ae59222a6fa9af18dcc072fdfb06cfca124d6;p=libpicofe.git diff --git a/common/emu.h b/common/emu.h index f51907f..75a5abe 100644 --- a/common/emu.h +++ b/common/emu.h @@ -43,9 +43,8 @@ extern int g_screen_height; enum { EOPT_SCALE_NONE = 0, - EOPT_SCALE_SW_H, - EOPT_SCALE_HW_H, - EOPT_SCALE_HW_HV, + EOPT_SCALE_SW, + EOPT_SCALE_HW, }; enum { @@ -67,7 +66,8 @@ typedef struct _currentConfig_t { int CPUclock; int volume; int gamma; - int scaling; // gp2x: 0=center, 1=hscale, 2=hvscale, 3=hsoftscale; psp: bilinear filtering + int scaling; // gp2x: EOPT_SCALE_*; psp: bilinear filtering + int vscaling; int rotation; // for UIQ float scale; // psp: screen scale float hscale32, hscale40; // psp: horizontal scale @@ -75,6 +75,8 @@ typedef struct _currentConfig_t { int turbo_rate; int renderer; int renderer32x; + int filter; // pandora + int analog_deadzone; } currentConfig_t; extern currentConfig_t currentConfig, defaultConfig; @@ -131,7 +133,7 @@ int emu_read_config(const char *rom_fname, int no_defaults); int emu_write_config(int game); char *emu_get_save_fname(int load, int is_sram, int slot); -int emu_check_save_file(int slot); +int emu_check_save_file(int slot, int *time); void emu_text_out8 (int x, int y, const char *text); void emu_text_out16(int x, int y, const char *text); @@ -144,6 +146,9 @@ void emu_get_game_name(char *str150); void emu_set_fastforward(int set_on); void emu_status_msg(const char *format, ...); +/* used by some (but not all) platforms */ +void emu_cmn_forced_frame(int no_scale, int do_emu); + #ifdef __cplusplus } // extern "C" #endif