X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=common%2Femu.h;h=75a5abe3e2516650e5008040dc3d002a2383cdf6;hb=e99d80480196f551f7e6c06deae3750de19b4c0e;hp=90803a64ed816f52136033d748e6dab156209ecd;hpb=c66f49e61a09926e828b2685cc997a6ebee7cdb4;p=libpicofe.git diff --git a/common/emu.h b/common/emu.h index 90803a6..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 @@ -76,6 +76,7 @@ typedef struct _currentConfig_t { int renderer; int renderer32x; int filter; // pandora + int analog_deadzone; } currentConfig_t; extern currentConfig_t currentConfig, defaultConfig; @@ -132,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); @@ -145,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