diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-01-19 22:18:47 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-01-19 22:18:47 +0000 |
commit | 280f7947052e3212719042f01e9e77068d1c7f6a (patch) | |
tree | dd3960facfd7ceaeb01ce830e9656a3cd08cda8c /src | |
parent | ee7b6bd1126a2059f7f5298ea40fc19305223961 (diff) | |
download | usdx-280f7947052e3212719042f01e9e77068d1c7f6a.tar.gz usdx-280f7947052e3212719042f01e9e77068d1c7f6a.tar.xz usdx-280f7947052e3212719042f01e9e77068d1c7f6a.zip |
Threshold and boost saved again
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1574 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src')
-rw-r--r-- | src/base/UIni.pas | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/base/UIni.pas b/src/base/UIni.pas index 7f25a813..920a1903 100644 --- a/src/base/UIni.pas +++ b/src/base/UIni.pas @@ -419,9 +419,9 @@ begin RecordKeys.Free(); // MicBoost - //MicBoost := GetArrayIndex(IMicBoost, IniFile.ReadString('Record', 'MicBoost', 'Off')); + MicBoost := GetArrayIndex(IMicBoost, IniFile.ReadString('Record', 'MicBoost', 'Off')); // Threshold - // ThresholdIndex := GetArrayIndex(IThreshold, IniFile.ReadString('Record', 'Threshold', IThreshold[1])); + ThresholdIndex := GetArrayIndex(IThreshold, IniFile.ReadString('Record', 'Threshold', IThreshold[1])); end; procedure TIni.SaveInputDeviceCfg(IniFile: TIniFile); @@ -447,9 +447,9 @@ begin end; // MicBoost - //IniFile.WriteString('Record', 'MicBoost', IMicBoost[MicBoost]); + IniFile.WriteString('Record', 'MicBoost', IMicBoost[MicBoost]); // Threshold - //IniFile.WriteString('Record', 'Threshold', IThreshold[ThresholdIndex]); + IniFile.WriteString('Record', 'Threshold', IThreshold[ThresholdIndex]); end; procedure TIni.LoadPaths(IniFile: TCustomIniFile); |