mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-14 23:05:11 +01:00
f21a08ebfa
.improved Z80 bus reset accuracy .improved Z80 locks & VDP access accuracy .improved soft-reset accuracy .adjusted Horizontal Counter timing in H32 mode (fixes Sonic 3D Blast 'bonus' levels) .updated win32 port to compile with recent changes .input code cleanup [GCN] .fixed soft-reset (reset switch should also works now) IMPORTANT: Because of some internal changes, saved states from previous revisions are not compatible !
49 lines
923 B
C
49 lines
923 B
C
|
|
#ifndef _CONFIG_H_
|
|
#define _CONFIG_H_
|
|
|
|
/****************************************************************************
|
|
* Config Option
|
|
*
|
|
****************************************************************************/
|
|
typedef struct
|
|
{
|
|
uint8 padtype;
|
|
} t_input_c;
|
|
|
|
typedef struct
|
|
{
|
|
uint8 hq_fm;
|
|
uint8 psgBoostNoise;
|
|
int32 psg_preamp;
|
|
int32 fm_preamp;
|
|
uint8 filter;
|
|
uint16 low_freq;
|
|
uint16 high_freq;
|
|
uint8 lp_range;
|
|
float lg;
|
|
float mg;
|
|
float hg;
|
|
float rolloff;
|
|
uint8 dac_bits;
|
|
uint8 region_detect;
|
|
uint8 force_dtack;
|
|
uint8 addr_error;
|
|
uint8 bios_enabled;
|
|
uint8 lock_on;
|
|
uint8 romtype;
|
|
uint8 overscan;
|
|
uint8 render;
|
|
uint8 ntsc;
|
|
t_input_c input[MAX_INPUTS];
|
|
uint8 gun_cursor[2];
|
|
uint8 invert_mouse;
|
|
} t_config;
|
|
|
|
/* Global variables */
|
|
extern t_config config;
|
|
extern void set_config_defaults(void);
|
|
|
|
#endif /* _CONFIG_H_ */
|
|
|