- Removed some GCC warnings.
- Fixed: MinGW doesn't have _get_pgmptr(), so it couldn't compile i_main.cpp. - Fixed: MOD_WAVETABLE and MOD_SWSYNTH are not defined by w32api, so MinGW failed compiling the new MIDI code. - Fixed: LocalSndInfo and LocalSndSeq in S_Start() need to be const char pointers, since "" is a constant. - Fixed: parsecontext.h was missing a newline at the end of the file. SVN r904 (trunk)
This commit is contained in:
parent
0d18580ff0
commit
b340f9c762
10 changed files with 52 additions and 19 deletions
|
|
@ -359,8 +359,8 @@ void S_Start ()
|
|||
|
||||
// Check for local sound definitions. Only reload if they differ
|
||||
// from the previous ones.
|
||||
char *LocalSndInfo;
|
||||
char *LocalSndSeq;
|
||||
const char *LocalSndInfo;
|
||||
const char *LocalSndSeq;
|
||||
|
||||
// To be certain better check whether level is valid!
|
||||
if (level.info && level.info->soundinfo)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue