--- uae/src/include/options.h 2018/04/24 16:46:30 1.1.1.8 +++ uae/src/include/options.h 2018/04/24 16:53:24 1.1.1.13 @@ -9,7 +9,7 @@ #define UAEMAJOR 0 #define UAEMINOR 8 -#define UAESUBREV 8 +#define UAESUBREV 13 typedef enum { KBD_LANG_US, KBD_LANG_DE, KBD_LANG_SE, KBD_LANG_FR, KBD_LANG_IT, KBD_LANG_ES } KbdLang; @@ -27,7 +27,6 @@ struct uae_prefs { char description[256]; - int framerate; int illegal_mem; int no_xhair; int use_serial; @@ -35,6 +34,7 @@ struct uae_prefs { int parallel_demand; int automount_uaedev; int use_gfxlib; + int socket_emu; int start_debugger; int start_gui; @@ -54,7 +54,9 @@ struct uae_prefs { int sound_maxbsiz; int sound_pri_time; int sound_pri_cutoff; + int sound_interpol; + int gfx_framerate; int gfx_width; int gfx_height; int gfx_lores; @@ -68,6 +70,8 @@ struct uae_prefs { int blits_32bit_enabled; int immediate_blits; + unsigned int chipset_mask; + int ntscmode; char df[4][256]; char romfile[256]; @@ -82,7 +86,7 @@ struct uae_prefs { int cpu_level; int cpu_compatible; int address_space_24; - + uae_u32 z3fastmem_size; uae_u32 fastmem_size; uae_u32 chipmem_size; @@ -98,6 +102,13 @@ struct uae_prefs { int x11_use_dgamode; int x11_hide_cursor; int svga_no_linear; + int win32_middle_mouse; + int win32_sound_style; + int win32_sound_tweak; + int win32_logfile; + int win32_iconified_nospeed; + int win32_iconified_nosound; + int curses_reverse_video; }; /* Contains the filename of .uaerc */ @@ -107,6 +118,8 @@ extern void save_options (FILE *, struct extern void default_prefs (struct uae_prefs *); extern void discard_prefs (struct uae_prefs *); +extern int parse_cmdline_option (char, char *); + extern int cfgfile_yesno (char *option, char *value, char *name, int *location); extern int cfgfile_intval (char *option, char *value, char *name, int *location, int scale); extern int cfgfile_strval (char *option, char *value, char *name, int *location, const char *table[], int more); @@ -188,7 +201,7 @@ extern int memcmpy(void *foo, const void * may need some padding for the array. */ #define fuzzy_memset(p, c, o, l) fuzzy_memset_1 ((p), QUADRUPLIFY (c), (o) & ~3, ((l) + 4) >> 2) -static __inline__ void fuzzy_memset_1 (void *p, uae_u32 c, int offset, int len) +STATIC_INLINE void fuzzy_memset_1 (void *p, uae_u32 c, int offset, int len) { uae_u32 *p2 = (uae_u32 *)((char *)p + offset); int a = len & 7; @@ -228,8 +241,10 @@ static __inline__ void fuzzy_memset_1 (v } } +/* This one knows it will never be asked to clear more than 32 bytes. Make sure you call this with a + constant for the length. */ #define fuzzy_memset_le32(p, c, o, l) fuzzy_memset_le32_1 ((p), QUADRUPLIFY (c), (o) & ~3, ((l) + 7) >> 2) -static __inline__ void fuzzy_memset_le32_1 (void *p, uae_u32 c, int offset, int len) +STATIC_INLINE void fuzzy_memset_le32_1 (void *p, uae_u32 c, int offset, int len) { uae_u32 *p2 = (uae_u32 *)((char *)p + offset);