mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Fix the game on non-Windows (#240)
This commit is contained in:
parent
d410694e40
commit
bc6c1bbc3c
1 changed files with 2 additions and 2 deletions
|
@ -603,7 +603,7 @@ CGameMenuItemSlider itemOptionsSoundMusicVolume("MUSIC VOLUME:", 3, 66, 100, 180
|
|||
CGameMenuItemZCycle itemOptionsSoundSampleRate("SAMPLE RATE:", 3, 66, 110, 180, 0, UpdateSoundRate, pzSoundRateStrings, 3, 0);
|
||||
CGameMenuItemSlider itemOptionsSoundNumVoices("VOICES:", 3, 66, 120, 180, snd_numvoices, 16, 256, 16, UpdateNumVoices, -1, -1, kMenuSliderValue);
|
||||
CGameMenuItemZBool itemOptionsSoundCDToggle("REDBOOK AUDIO:", 3, 66, 130, 180, false, UpdateCDToggle, NULL, NULL);
|
||||
CGameMenuItemZCycle itemOptionsSoundMusicDevice("MUSIC DEVICE:", 3, 66, 140, 180, 0, UpdateMusicDevice, pzMusicDeviceStrings, 2, 0);
|
||||
CGameMenuItemZCycle itemOptionsSoundMusicDevice("MUSIC DEVICE:", 3, 66, 140, 180, 0, UpdateMusicDevice, pzMusicDeviceStrings, ARRAY_SIZE(pzMusicDeviceStrings), 0);
|
||||
CGameMenuItemChain itemOptionsSoundApplyChanges("APPLY CHANGES", 3, 66, 150, 180, 0, NULL, 0, SetSound, 0);
|
||||
|
||||
|
||||
|
@ -1876,7 +1876,7 @@ void SetupOptionsSound(CGameMenuItemChain *pItem)
|
|||
}
|
||||
itemOptionsSoundNumVoices.nValue = snd_numvoices;
|
||||
itemOptionsSoundMusicDevice.m_nFocus = 0;
|
||||
for (int i = 0; i < 2; i++)
|
||||
for (int i = 0; i < ARRAY_SIZE(nMusicDeviceValues); i++)
|
||||
{
|
||||
if (nMusicDeviceValues[i] == MusicDevice)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue