Actually change to MIDI if Jukebox was selected
This commit is contained in:
parent
7046ea43ff
commit
303c3d91b1
|
@ -1,5 +1,9 @@
|
||||||
D1X-Rebirth Changelog
|
D1X-Rebirth Changelog
|
||||||
|
|
||||||
|
20100227
|
||||||
|
--------
|
||||||
|
main/menu.c: Actually change to MIDI if Jukebox was selected
|
||||||
|
|
||||||
20100226
|
20100226
|
||||||
--------
|
--------
|
||||||
main/menu.c, main/newmenu.c: Handle all user input in callback for sounds menu, being more judicious about when to restart the music. Also make the jukebox path input a NM_TYPE_INPUT_MENU, allowing the user to abort changes
|
main/menu.c, main/newmenu.c: Handle all user input in callback for sounds menu, being more judicious about when to restart the music. Also make the jukebox path input a NM_TYPE_INPUT_MENU, allowing the user to abort changes
|
||||||
|
|
10
main/menu.c
10
main/menu.c
|
@ -1105,15 +1105,13 @@ int sound_menuset(newmenu *menu, d_event *event, void *userdata)
|
||||||
|
|
||||||
case 3:
|
case 3:
|
||||||
case 4:
|
case 4:
|
||||||
|
#ifdef USE_SDLMIXER
|
||||||
|
case 5:
|
||||||
|
GameCfg.JukeboxOn = items[5].value;
|
||||||
|
#endif
|
||||||
GameCfg.SndEnableRedbook = items[4].value;
|
GameCfg.SndEnableRedbook = items[4].value;
|
||||||
replay = 1;
|
replay = 1;
|
||||||
break;
|
break;
|
||||||
#ifdef USE_SDLMIXER
|
|
||||||
case 5:
|
|
||||||
GameCfg.JukeboxOn = items[citem].value;
|
|
||||||
replay = 1;
|
|
||||||
break;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if (citem == nitems - 1)
|
if (citem == nitems - 1)
|
||||||
|
|
Loading…
Reference in a new issue