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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user