1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

update audio device list, #594

This commit is contained in:
IntelOrca
2015-02-25 17:47:11 +00:00
parent d5cd4e3187
commit 3e75e82d93

View File

@@ -357,6 +357,8 @@ static void window_options_mousedown(int widgetIndex, rct_window*w, rct_widget*
switch (widgetIndex) { switch (widgetIndex) {
case WIDX_SOUND_DROPDOWN: case WIDX_SOUND_DROPDOWN:
audio_get_devices();
// populate the list with the sound devices // populate the list with the sound devices
for (i = 0; i < gAudioDeviceCount; i++) { for (i = 0; i < gAudioDeviceCount; i++) {
gDropdownItemsFormat[i] = 1142; gDropdownItemsFormat[i] = 1142;