From b674b5362d49c45bea4fc565ca435b91608ebd9c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 1 Oct 2021 00:44:47 +0200 Subject: [PATCH] Small cleanup - this macro is no longer used --- retroarch_data.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/retroarch_data.h b/retroarch_data.h index fcd64056ca..d81efbc605 100644 --- a/retroarch_data.h +++ b/retroarch_data.h @@ -12,9 +12,7 @@ _timer.current = current_usec; \ _timer.timeout_end = _timer.current + _timer.timeout_us -#define RARCH_TIMER_GET_TIMEOUT(_timer) ((int)(_timer.timeout_us / 1000000)) - -#define RARCH_TIMER_HAS_EXPIRED(_timer) ((_timer.timeout_us <= 0) ? true : false) +#define RARCH_TIMER_HAS_EXPIRED(_timer) ((_timer.timeout_us <= 0)) #define DRIVERS_CMD_ALL \ ( DRIVER_AUDIO_MASK \