mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Silence bunch of warnings and fix an error
This commit is contained in:
parent
90fbc6330c
commit
e9a0aba85b
@ -704,7 +704,6 @@ bool core_info_ctl(enum core_info_state state, void *data)
|
||||
return core_info_list_update_missing_firmware(core_info_curr_list,
|
||||
info->path, info->system_directory);
|
||||
}
|
||||
break;
|
||||
case CORE_INFO_CTL_FIND:
|
||||
{
|
||||
core_info_ctx_find_t *info = (core_info_ctx_find_t*)data;
|
||||
|
@ -421,7 +421,6 @@ bool gfx_ctx_ctl(enum gfx_ctx_ctl_state state, void *data)
|
||||
video_context_data, mode_info->width,
|
||||
mode_info->height, mode_info->fullscreen);
|
||||
}
|
||||
break;
|
||||
case GFX_CTL_SET_RESIZE:
|
||||
{
|
||||
gfx_ctx_mode_t *mode_info = (gfx_ctx_mode_t*)data;
|
||||
|
@ -160,7 +160,6 @@ bool video_shader_driver_ctl(enum video_shader_driver_ctl_state state, void *dat
|
||||
unsigned *index = (unsigned*)data;
|
||||
return current_shader->mipmap_input(shader_data, *index);
|
||||
}
|
||||
break;
|
||||
case SHADER_CTL_SET_COORDS:
|
||||
{
|
||||
video_shader_ctx_coords_t *coords = (video_shader_ctx_coords_t*)
|
||||
|
@ -3143,9 +3143,8 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
|
||||
entry->add_empty_entry) == -1)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
return true;
|
||||
case DISPLAYLIST_SETTINGS:
|
||||
ret = menu_displaylist_parse_settings(menu, info,
|
||||
info->label, PARSE_NONE, true);
|
||||
|
@ -781,7 +781,6 @@ bool menu_input_ctl(enum menu_input_ctl_state state, void *data)
|
||||
return false;
|
||||
return menu_input_key_bind_iterate(bind->s, bind->len);
|
||||
}
|
||||
break;
|
||||
case MENU_INPUT_CTL_START_LINE:
|
||||
{
|
||||
bool keyboard_display = true;
|
||||
|
@ -446,10 +446,10 @@ unsigned retro_get_cpu_cores(void)
|
||||
**/
|
||||
uint64_t retro_get_cpu_features(void)
|
||||
{
|
||||
size_t len;
|
||||
int flags[4];
|
||||
int vendor_shuffle[3];
|
||||
char vendor[13] = {0};
|
||||
size_t len = 0;
|
||||
uint64_t cpu_flags = 0;
|
||||
uint64_t cpu = 0;
|
||||
unsigned max_flag = 0;
|
||||
|
@ -1426,7 +1426,7 @@ int runloop_iterate(unsigned *sleep_ms)
|
||||
if (bsv_movie_ctl(BSV_MOVIE_CTL_IS_INITED, NULL))
|
||||
bsv_movie_ctl(BSV_MOVIE_CTL_SET_FRAME_START, NULL);
|
||||
|
||||
runloop_ctl(RARCH_CAMERA_CTL_POLL, NULL);
|
||||
camera_driver_ctl(RARCH_CAMERA_CTL_POLL, NULL);
|
||||
|
||||
/* Update binds for analog dpad modes. */
|
||||
for (i = 0; i < settings->input.max_users; i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user