gpgx: change lowpass range to ushort to make at least some sense to user.

This commit is contained in:
feos 2016-02-28 01:12:14 +03:00
parent f3f171d336
commit c04d813b77
5 changed files with 5 additions and 5 deletions

View File

@ -81,8 +81,8 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
[DisplayName("Low Pass Range")] [DisplayName("Low Pass Range")]
[Description("Only active when filter type is lowpass")] [Description("Only active when filter type is lowpass")]
[DefaultValue((short)-26215)] [DefaultValue((ushort)39321)]
public short LowPassRange { get; set; } public ushort LowPassRange { get; set; }
[DisplayName("Three band low cutoff")] [DisplayName("Three band low cutoff")]
[Description("Only active when filter type is three band")] [Description("Only active when filter type is three band")]

View File

@ -39,7 +39,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
ThreeBand = 2 ThreeBand = 2
} }
public FilterType Filter; public FilterType Filter;
public short LowPassRange; public ushort LowPassRange;
public short LowFreq; public short LowFreq;
public short HighFreq; public short HighFreq;
public short LowGain; public short LowGain;

View File

@ -486,7 +486,7 @@ GPGX_EX void gpgx_get_sram(void **area, int *size)
struct InitSettings struct InitSettings
{ {
uint8_t Filter; uint8_t Filter;
int16_t LowPassRange; uint16_t LowPassRange;
int16_t LowFreq; int16_t LowFreq;
int16_t HighFreq; int16_t HighFreq;
int16_t LowGain; int16_t LowGain;

View File

@ -45,7 +45,7 @@ struct
uint8 mono; uint8 mono;
int16 psg_preamp; int16 psg_preamp;
int16 fm_preamp; int16 fm_preamp;
int16 lp_range; uint16 lp_range;
int16 low_freq; int16 low_freq;
int16 high_freq; int16 high_freq;
int16 lg; int16 lg;

Binary file not shown.