diff options
author | basisbit <basisbit@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2015-10-11 22:15:05 +0000 |
---|---|---|
committer | basisbit <basisbit@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2015-10-11 22:15:05 +0000 |
commit | 086642246da49e0ad2de8857004e083081a14867 (patch) | |
tree | d17de7a3de34c55f9029742eca0abcd2980790eb /src/base/UIni.pas | |
parent | 6cef6c00598000b85d0bd9f8c1d8795a04e07c99 (diff) | |
download | usdx-086642246da49e0ad2de8857004e083081a14867.tar.gz usdx-086642246da49e0ad2de8857004e083081a14867.tar.xz usdx-086642246da49e0ad2de8857004e083081a14867.zip |
* modified to support current Bass.dll which fixes sound-issues on windows 8 and newer
ToDo: implement usage of Bass device latency for usage when syncing video playback and audio playback
* implemented the split-feature for linux-users. see https://sourceforge.net/p/ultrastardx/patches/16/
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3141 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | src/base/UIni.pas | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/base/UIni.pas b/src/base/UIni.pas index beb9faa8..a455ed8b 100644 --- a/src/base/UIni.pas +++ b/src/base/UIni.pas @@ -115,6 +115,7 @@ type // Graphics Screens: integer; + Split: integer; Resolution: integer; Depth: integer; VisualizerOption: integer; @@ -206,6 +207,7 @@ const IDebug: array[0..1] of UTF8String = ('Off', 'On'); IScreens: array[0..1] of UTF8String = ('1', '2'); + ISplit: array[0..1] of UTF8String = ('Off', 'On'); IFullScreen: array[0..1] of UTF8String = ('Off', 'On'); IDepth: array[0..1] of UTF8String = ('16 bit', '32 bit'); IVisualizer: array[0..2] of UTF8String = ('Off', 'WhenNoVideo','On'); @@ -786,6 +788,9 @@ begin // Screens Screens := GetArrayIndex(IScreens, IniFile.ReadString('Graphics', 'Screens', IScreens[0])); + // Split mode + Split := GetArrayIndex(ISplit, IniFile.ReadString('Graphics', 'Split', ISplit[0])); + // FullScreen FullScreen := GetArrayIndex(IFullScreen, IniFile.ReadString('Graphics', 'FullScreen', 'On')); @@ -1072,6 +1077,9 @@ begin // Screens IniFile.WriteString('Graphics', 'Screens', IScreens[Screens]); + // Split + IniFile.WriteString('Graphics', 'Split', ISplit[Split]); + // FullScreen IniFile.WriteString('Graphics', 'FullScreen', IFullScreen[FullScreen]); |