diff options
author | Simon Howard | 2005-09-11 23:57:08 +0000 |
---|---|---|
committer | Simon Howard | 2005-09-11 23:57:08 +0000 |
commit | 210b440bd8a7040913dfb4d1b5ebf68c13b840d7 (patch) | |
tree | e737bea74d80afb06cf2ea3dd3b10b87b699c392 | |
parent | 8ed2da84d97835024d2f561512c418152077139f (diff) | |
download | chocolate-doom-210b440bd8a7040913dfb4d1b5ebf68c13b840d7.tar.gz chocolate-doom-210b440bd8a7040913dfb4d1b5ebf68c13b840d7.tar.bz2 chocolate-doom-210b440bd8a7040913dfb4d1b5ebf68c13b840d7.zip |
Remove temporary MIDI files generated by sound code.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 102
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/i_sound.c | 11 |
2 files changed, 10 insertions, 2 deletions
@@ -1,4 +1,5 @@ + Remove temporary MIDI files generated by sound code. Fix sound not playing at the right volume Allow alt-tab away while running in fullscreen under Windows Add second configuration file (chocolate-doom.cfg) to allow diff --git a/src/i_sound.c b/src/i_sound.c index 6939e188..45ead1af 100644 --- a/src/i_sound.c +++ b/src/i_sound.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: i_sound.c 101 2005-09-11 20:53:17Z fraggle $ +// $Id: i_sound.c 102 2005-09-11 23:57:08Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,9 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.19 2005/09/11 23:57:08 fraggle +// Remove temporary MIDI files generated by sound code. +// // Revision 1.18 2005/09/11 20:53:17 fraggle // Fix sounds playing at the wrong volume (too quiet) // @@ -90,7 +93,7 @@ //----------------------------------------------------------------------------- static const char -rcsid[] = "$Id: i_sound.c 101 2005-09-11 20:53:17Z fraggle $"; +rcsid[] = "$Id: i_sound.c 102 2005-09-11 23:57:08Z fraggle $"; #include <stdio.h> #include <stdlib.h> @@ -605,6 +608,10 @@ void *I_RegisterSong(void *data, int len) fprintf(stderr, "Error loading midi\n"); } + + // remove file now + + remove(filename); } Z_Free(mididata); |