Remove unused variables
--HG-- branch : SDL-1.2
This commit is contained in:
parent
a5f570809b
commit
1e0afdb9d3
3 changed files with 4 additions and 8 deletions
|
@ -384,7 +384,7 @@ static int Mint_CheckAudio(_THIS, SDL_AudioSpec *spec)
|
|||
|
||||
static void Mint_InitAudio(_THIS, SDL_AudioSpec *spec)
|
||||
{
|
||||
int channels_mode, dmaclock, prediv;
|
||||
int channels_mode, prediv;
|
||||
void *buffer;
|
||||
|
||||
/* Stop currently playing sound */
|
||||
|
@ -412,7 +412,6 @@ static void Mint_InitAudio(_THIS, SDL_AudioSpec *spec)
|
|||
DEBUG_PRINT((DEBUG_NAME "Setmode() failed\n"));
|
||||
}
|
||||
|
||||
dmaclock = MINTAUDIO_frequencies[MINTAUDIO_numfreq].masterclock;
|
||||
prediv = MINTAUDIO_frequencies[MINTAUDIO_numfreq].predivisor;
|
||||
if (MINTAUDIO_frequencies[MINTAUDIO_numfreq].gpio_bits != -1) {
|
||||
Gpio(GPIO_SET,7); /* DSP port gpio outputs */
|
||||
|
|
|
@ -173,14 +173,14 @@ void GEM_PumpEvents(_THIS)
|
|||
|
||||
static int do_messages(_THIS, short *message)
|
||||
{
|
||||
int quit, posted, check_mouse_mode;
|
||||
int quit, check_mouse_mode;
|
||||
short x2,y2,w2,h2;
|
||||
|
||||
quit = check_mouse_mode = 0;
|
||||
switch (message[0]) {
|
||||
case WM_CLOSED:
|
||||
case AP_TERM:
|
||||
posted = SDL_PrivateQuit();
|
||||
SDL_PrivateQuit();
|
||||
quit=1;
|
||||
break;
|
||||
case WM_MOVED:
|
||||
|
|
|
@ -217,8 +217,7 @@ static void VDI_ReadExtInfo(_THIS, short *work_out)
|
|||
{
|
||||
unsigned long EdDI_version;
|
||||
long cookie_EdDI;
|
||||
Uint32 num_colours;
|
||||
Uint16 clut_type, num_bits;
|
||||
Uint16 clut_type;
|
||||
|
||||
/* Read EdDI informations */
|
||||
if (Getcookie(C_EdDI, &cookie_EdDI) == C_NOTFOUND) {
|
||||
|
@ -231,8 +230,6 @@ static void VDI_ReadExtInfo(_THIS, short *work_out)
|
|||
|
||||
VDI_format = work_out[0];
|
||||
clut_type = work_out[1];
|
||||
num_bits = work_out[2];
|
||||
num_colours = *((Uint32 *) &work_out[3]);
|
||||
|
||||
/* With EdDI>=1.1, we can have screen pitch, address and format
|
||||
* so we can directly write to screen without using vro_cpyfm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue