From fd3fe45bc14a0a540f2525102551c92a64a73b76 Mon Sep 17 00:00:00 2001 From: Robert Kukla Date: Tue, 9 Oct 2007 20:42:20 +0000 Subject: FS#7487 - mpegplayer - video start time seek with resume by John S. Gwynne & Brian J. Morey This should stop the patch from breaking again and give them opportunity to improve it further. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15052 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/sdl/button.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'uisimulator/sdl/button.c') diff --git a/uisimulator/sdl/button.c b/uisimulator/sdl/button.c index 4869dd06b1..2b44a7bace 100644 --- a/uisimulator/sdl/button.c +++ b/uisimulator/sdl/button.c @@ -736,6 +736,11 @@ void button_event(int key, bool pressed) /* Again copied from real button.c... */ +int button_available( void ) +{ + return queue_count(&button_queue); +} + long button_get(bool block) { struct event ev; -- cgit v1.2.3