Warning fixups.

This commit is contained in:
Themaister 2012-04-10 00:37:09 +02:00
parent 6c05eac2f5
commit 7c5c04bf36
3 changed files with 4 additions and 4 deletions

View File

@ -64,7 +64,7 @@ void (*pretro_set_audio_sample_batch)(retro_audio_sample_batch_t);
void (*pretro_set_input_poll)(retro_input_poll_t);
void (*pretro_set_input_state)(retro_input_state_t);
void (*pretro_set_controller_port_device)(bool, unsigned);
void (*pretro_set_controller_port_device)(unsigned, unsigned);
void (*pretro_reset)(void);
void (*pretro_run)(void);

View File

@ -56,7 +56,7 @@ extern void (*pretro_set_audio_sample_batch)(retro_audio_sample_batch_t);
extern void (*pretro_set_input_poll)(retro_input_poll_t);
extern void (*pretro_set_input_state)(retro_input_state_t);
extern void (*pretro_set_controller_port_device)(bool, unsigned);
extern void (*pretro_set_controller_port_device)(unsigned, unsigned);
extern void (*pretro_reset)(void);
extern void (*pretro_run)(void);

4
file.c
View File

@ -647,8 +647,8 @@ static bool load_sufami_rom(void)
{
const char *path[3] = {
*g_extern.fullpath ? g_extern.fullpath : NULL,
g_extern.sufami_rom_path[0] ? g_extern.sufami_rom_path[0] : NULL,
g_extern.sufami_rom_path[1] ? g_extern.sufami_rom_path[1] : NULL,
*g_extern.sufami_rom_path[0] ? g_extern.sufami_rom_path[0] : NULL,
*g_extern.sufami_rom_path[1] ? g_extern.sufami_rom_path[1] : NULL,
};
return load_roms(RETRO_GAME_TYPE_SUFAMI_TURBO, path, 3);