From 30ea38a28f3abd05c32093c29c67b418c6904235 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Thu, 27 May 2021 10:34:29 -0700 Subject: play: always return 0 from play_ticks_reset() Callers manually resetting timers often need to assign the reset ticks count somewhere, this makes it so they can just assign it directly from the reset call. Otherwise this can be ignored... --- src/play.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/play.h') diff --git a/src/play.h b/src/play.h index 73d3815..98581c8 100644 --- a/src/play.h +++ b/src/play.h @@ -65,7 +65,7 @@ void play_music_resume(play_t *play); void play_context_enter(play_t *play, int context); void * play_context(play_t *play, int context); unsigned play_ticks(play_t *play, play_ticks_t timer); -void play_ticks_reset(play_t *play, play_ticks_t timer); +unsigned play_ticks_reset(play_t *play, play_ticks_t timer); void play_ticks_pause(play_t *play); int play_ticks_elapsed(play_t *play, play_ticks_t timer, unsigned duration); void play_quit(play_t *play); -- cgit v1.2.3