More warnings fixes by riccardom (patch 2157019)

This one fix the warnings for SDL related stuff.
I also removed an unused function...
This commit is contained in:
yabause 2008-10-17 09:16:13 +00:00
parent 1e9e8c405b
commit 2440ea25e7
2 changed files with 2 additions and 9 deletions

View File

@ -217,7 +217,7 @@ u16 get_set_joy_key(int index) {
} }
/* Reset corresponding key and its twin axis key */ /* Reset corresponding key and its twin axis key */
u16 get_joy_axis_twin(u16 key) static u16 get_joy_axis_twin(u16 key)
{ {
switch(key) switch(key)
{ {

View File

@ -55,7 +55,7 @@ static SDL_AudioSpec audiofmt;
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
void MixAudio(void *userdata, Uint8 *stream, int len) { static void MixAudio(void *userdata, Uint8 *stream, int len) {
int i; int i;
Uint8 *soundbuf=(Uint8 *)stereodata16; Uint8 *soundbuf=(Uint8 *)stereodata16;
@ -124,13 +124,6 @@ void SNDSDLDeInit()
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
int SNDSDLReset()
{
return 0;
}
//////////////////////////////////////////////////////////////////////////////
void SNDSDLUpdateAudio(s16 *buffer, u32 num_samples) void SNDSDLUpdateAudio(s16 *buffer, u32 num_samples)
{ {
u32 copy1size=0, copy2size=0; u32 copy1size=0, copy2size=0;