- Fixed: After starting new music the music volume has to be reset so that
the song's relative volume takes effect. - Removed the arbitrary 1024 bytes limit when the file being played is a MIDI file. I had a D_DM2TTL that's only 990 bytes. - Restructured I_RegisterSong so that $mididevice works again and also supports selecting FMOD. SVN r857 (trunk)
This commit is contained in:
parent
670edb2356
commit
6420d82a58
5 changed files with 169 additions and 110 deletions
|
|
@ -1307,10 +1307,10 @@ bool S_ChangeMusic (const char *musicname, int order, bool looping, bool force)
|
|||
{
|
||||
int lumpnum = -1;
|
||||
int offset, length;
|
||||
int device = -1;
|
||||
int device = MDEV_DEFAULT;
|
||||
|
||||
|
||||
int * devp = MidiDevices.CheckKey(FName(musicname));
|
||||
int *devp = MidiDevices.CheckKey(FName(musicname));
|
||||
if (devp != NULL) device = *devp;
|
||||
|
||||
if (!FileExists (musicname))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue