mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 00:32:49 +00:00
Warning fixups.
This commit is contained in:
parent
6c05eac2f5
commit
7c5c04bf36
@ -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_poll)(retro_input_poll_t);
|
||||||
void (*pretro_set_input_state)(retro_input_state_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_reset)(void);
|
||||||
void (*pretro_run)(void);
|
void (*pretro_run)(void);
|
||||||
|
@ -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_poll)(retro_input_poll_t);
|
||||||
extern void (*pretro_set_input_state)(retro_input_state_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_reset)(void);
|
||||||
extern void (*pretro_run)(void);
|
extern void (*pretro_run)(void);
|
||||||
|
4
file.c
4
file.c
@ -647,8 +647,8 @@ static bool load_sufami_rom(void)
|
|||||||
{
|
{
|
||||||
const char *path[3] = {
|
const char *path[3] = {
|
||||||
*g_extern.fullpath ? g_extern.fullpath : NULL,
|
*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[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[1] ? g_extern.sufami_rom_path[1] : NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
return load_roms(RETRO_GAME_TYPE_SUFAMI_TURBO, path, 3);
|
return load_roms(RETRO_GAME_TYPE_SUFAMI_TURBO, path, 3);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user