mirror of
https://github.com/Oibaf66/fbzx-wii.git
synced 2024-11-01 06:45:05 +01:00
Removed some warnings (option -W)
This commit is contained in:
parent
6729b461c2
commit
f9825294f7
@ -87,7 +87,8 @@ char rom_cartridge[MAX_PATH_LENGTH];
|
||||
char pasted_file[MAX_PATH_LENGTH];
|
||||
|
||||
unsigned int colors[80];
|
||||
unsigned int jump_frames,curr_frames, turbo_n;
|
||||
unsigned int curr_frames, turbo_n;
|
||||
int jump_frames;
|
||||
|
||||
static SDL_Surface *image;
|
||||
|
||||
|
@ -51,7 +51,8 @@ extern char rom_cartridge[MAX_PATH_LENGTH];
|
||||
extern char pasted_file[MAX_PATH_LENGTH];
|
||||
|
||||
extern unsigned int colors[80];
|
||||
extern unsigned int jump_frames,curr_frames, turbo_n;
|
||||
extern unsigned int curr_frames, turbo_n;
|
||||
extern int jump_frames;
|
||||
extern unsigned char sdismount, usbismount, smbismount, tmpismade, ftpismount,networkisinit;
|
||||
|
||||
void SDL_Fullscreen_Switch(void);
|
||||
|
@ -272,7 +272,7 @@ static void tape_browser()
|
||||
|
||||
block_n_int=atoi(block_n);
|
||||
|
||||
if ((block_n_int<0)||(block_n_int >(MAX_BROWSER_ITEM-1))) return;
|
||||
if (block_n_int >(MAX_BROWSER_ITEM-1)) return;
|
||||
|
||||
tape_position=browser_list[block_n_int]->position;
|
||||
|
||||
|
@ -1618,7 +1618,7 @@ int menu_is_inited(void)
|
||||
}
|
||||
|
||||
//Sound must be reseted before calling this function (except for ASND)
|
||||
void play_click(sound)
|
||||
void play_click(int sound)
|
||||
{
|
||||
if (!ordenador.gui_sound) return;
|
||||
#ifdef GEKKO
|
||||
|
@ -261,7 +261,7 @@ int sound_init_sdl() {
|
||||
|
||||
#ifdef GEKKO
|
||||
int voice;
|
||||
void callback(voice)
|
||||
void callback(int voice)
|
||||
{}
|
||||
|
||||
int sound_init_asnd() {
|
||||
|
@ -482,7 +482,7 @@ int select_block(FILE * fichero)
|
||||
|
||||
block_n_int=atoi(block_n);
|
||||
|
||||
if ((block_n_int<0)||(block_n_int >(MAX_SELECT_ITEM-1))||block_select_list[block_n_int]==NULL) return -1;
|
||||
if ((block_n_int >(MAX_SELECT_ITEM-1))||block_select_list[block_n_int]==NULL) return -1;
|
||||
|
||||
if ((block_select_list[block_n_int]->offset+blk_sel_pos) > (MAX_BROWSER_ITEM-1)) return -1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user