diff options
Diffstat (limited to 'apps/plugins/rockboy/sys_rockbox.c')
-rw-r--r-- | apps/plugins/rockboy/sys_rockbox.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/apps/plugins/rockboy/sys_rockbox.c b/apps/plugins/rockboy/sys_rockbox.c index 60cac0a88d..fe3326737d 100644 --- a/apps/plugins/rockboy/sys_rockbox.c +++ b/apps/plugins/rockboy/sys_rockbox.c | |||
@@ -328,23 +328,3 @@ void vid_update(int scanline) | |||
328 | } | 328 | } |
329 | #endif | 329 | #endif |
330 | 330 | ||
331 | long timerresult; | ||
332 | |||
333 | void *sys_timer(void) | ||
334 | { | ||
335 | /*timerresult=*rb->current_tick; | ||
336 | return &timerresult;*/ | ||
337 | return 0; | ||
338 | } | ||
339 | |||
340 | /* returns microseconds passed since sys_timer */ | ||
341 | int sys_elapsed(long *oldtick) | ||
342 | { | ||
343 | /* int elap,mytime=microtick; | ||
344 | |||
345 | elap=mytime-*oldtick; | ||
346 | *oldtick=mytime; | ||
347 | return elap; */ | ||
348 | /* return ((*rb->current_tick-(*oldtick))*1000000)/HZ; */ | ||
349 | return *oldtick; | ||
350 | } | ||