Brought the Voodoo files in line with the mainline PCem code - fixes all warnings;

Applied all the mainline PCem commits;
Fixed some sound-related warnings.
This commit is contained in:
OBattler
2017-06-14 20:35:58 +02:00
parent 62bfb60a7b
commit c0a8830d5e
13 changed files with 517 additions and 373 deletions

View File

@@ -21,7 +21,7 @@ static ALuint source[2]; /* audio source */
#define BUFLEN SOUNDBUFLEN
void closeal(ALvoid);
void closeal(void);
ALvoid alutInit(ALint *argc,ALbyte **argv)
{
ALCcontext *Context;
@@ -62,7 +62,7 @@ void initalmain(int argc, char *argv[])
#endif
}
void closeal(ALvoid)
void closeal(void)
{
#ifdef USE_OPENAL
alutExit();

View File

@@ -43,7 +43,7 @@ void sound_reset();
void sound_cd_thread_reset();
void closeal(ALvoid);
void closeal(void);
void initalmain(int argc, char *argv[]);
void inital();
void givealbuffer(float *buf);