X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fcommon%2Femu.h;h=1e751f891e31ce25028b533c7276c78943d7051d;hb=ee3c39efd2cf51cd654b6240f6fb595673f10f45;hp=93787c774875671b619175c44e5ce2e8d21751b8;hpb=b59172e3d428eb6848e6874861804c79bbc9d1ec;p=picodrive.git diff --git a/platform/common/emu.h b/platform/common/emu.h index 93787c7..1e751f8 100644 --- a/platform/common/emu.h +++ b/platform/common/emu.h @@ -16,6 +16,7 @@ extern void *g_screen_ptr; extern int g_screen_width; extern int g_screen_height; +extern int g_screen_ppitch; // pitch in pixels #define EOPT_EN_SRAM (1<<0) #define EOPT_SHOW_FPS (1<<1) @@ -74,6 +75,7 @@ typedef struct _currentConfig_t { int analog_deadzone; int msh2_khz; int ssh2_khz; + int overclock_68k; } currentConfig_t; extern currentConfig_t currentConfig, defaultConfig; @@ -121,7 +123,7 @@ void emu_set_defconfig(void); 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); +char *emu_get_save_fname(int load, int is_sram, int slot, int *time); int emu_check_save_file(int slot, int *time); void emu_text_out8 (int x, int y, const char *text); @@ -129,6 +131,8 @@ void emu_text_out16(int x, int y, const char *text); void emu_text_out8_rot (int x, int y, const char *text); void emu_text_out16_rot(int x, int y, const char *text); +void emu_osd_text16(int x, int y, const char *text); + void emu_make_path(char *buff, const char *end, int size); void emu_update_input(void); void emu_get_game_name(char *str150);