From 7c5c04bf3695a4bb7e2664ddf09e95987abdc7d0 Mon Sep 17 00:00:00 2001 From: Themaister Date: Tue, 10 Apr 2012 00:37:09 +0200 Subject: [PATCH] Warning fixups. --- dynamic.c | 2 +- dynamic.h | 2 +- file.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dynamic.c b/dynamic.c index 32e7c7ecce..dd903518ea 100644 --- a/dynamic.c +++ b/dynamic.c @@ -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); diff --git a/dynamic.h b/dynamic.h index 6571e765f1..ce43604f7f 100644 --- a/dynamic.h +++ b/dynamic.h @@ -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); diff --git a/file.c b/file.c index 20ec073271..4ce5e5e944 100644 --- a/file.c +++ b/file.c @@ -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);