Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Remove unused variables
- Loading branch information
|
@@ -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 |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.