From a6142ab7ab58f69a3f1a034db4bdf1eff24d3dd6 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Thu, 10 Jun 2004 13:29:52 +0000 Subject: Finally, the archos directory sandbox works in the same way for both X11 and win32 simulators. Unfortunately, this breaks the VC++ compatibility. Also, the plugin API now supports DEBUGF. Last, but not least, we have a new plugin, vbrfix.rock. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4726 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/x11/button-x11.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'uisimulator/x11/button-x11.c') diff --git a/uisimulator/x11/button-x11.c b/uisimulator/x11/button-x11.c index ae16e2e891..eae55318ad 100644 --- a/uisimulator/x11/button-x11.c +++ b/uisimulator/x11/button-x11.c @@ -172,7 +172,7 @@ int button_get_w_tmo(int ticks) for(i=0; i< ticks; i++) { bits = get_raw_button(); if(!bits) - x11_sleep(1); + sim_sleep(1); else break; } @@ -193,14 +193,14 @@ int button_get(bool block) do { bits = get_raw_button(); if(block && !bits) - x11_sleep(HZ/10); + sim_sleep(HZ/10); else break; } while(1); if(!block) /* delay a bit */ - x11_sleep(1); + sim_sleep(1); return bits; } -- cgit v1.2.3