mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 13:20:43 +00:00
Some more explicit typecasts to bools
This commit is contained in:
parent
dadb5a6f41
commit
797c7ff381
@ -1189,7 +1189,7 @@ bool gfx_animation_update(
|
||||
{
|
||||
unsigned i;
|
||||
gfx_animation_t *p_anim = &anim_st;
|
||||
const bool ticker_is_active = p_anim->flags & GFX_ANIM_FLAG_TICKER_IS_ACTIVE;
|
||||
const bool ticker_is_active = (p_anim->flags & GFX_ANIM_FLAG_TICKER_IS_ACTIVE) ? true : false;
|
||||
|
||||
static retro_time_t last_clock_update = 0;
|
||||
static retro_time_t last_ticker_update = 0;
|
||||
|
@ -2662,7 +2662,7 @@ void video_driver_build_info(video_frame_info_t *video_info)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
video_info->input_driver_nonblock_state = input_st ? (input_st->flags & INP_FLAG_NONBLOCKING) : false;
|
||||
video_info->input_driver_nonblock_state = (input_st->flags & INP_FLAG_NONBLOCKING) ? true : false;
|
||||
video_info->input_driver_grab_mouse_state = (input_st->flags & INP_FLAG_GRAB_MOUSE_STATE) ? true : false;
|
||||
video_info->disp_userdata = disp_get_ptr();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user