X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=common%2Femu.h;h=cfa3527a4e52bbcfcb5d52111db969910b95a2cb;hb=a8dae1156bef23538e0027034fab07427b337fd2;hp=90803a64ed816f52136033d748e6dab156209ecd;hpb=c66f49e61a09926e828b2685cc997a6ebee7cdb4;p=libpicofe.git diff --git a/common/emu.h b/common/emu.h index 90803a6..cfa3527 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; @@ -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