diff options
Diffstat (limited to 'uisimulator/sdl/timer.c')
-rw-r--r-- | uisimulator/sdl/timer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/uisimulator/sdl/timer.c b/uisimulator/sdl/timer.c index f4368bb745..369aeab929 100644 --- a/uisimulator/sdl/timer.c +++ b/uisimulator/sdl/timer.c | |||
@@ -36,9 +36,8 @@ Uint32 SDL_timer_callback(Uint32 interval, void *param){ | |||
36 | ((int)((1000*cycles)/TIMER_FREQ)) | 36 | ((int)((1000*cycles)/TIMER_FREQ)) |
37 | 37 | ||
38 | bool timer_register(int reg_prio, void (*unregister_callback)(void), | 38 | bool timer_register(int reg_prio, void (*unregister_callback)(void), |
39 | long cycles, int int_prio, void (*timer_callback)(void)) | 39 | long cycles, void (*timer_callback)(void)) |
40 | { | 40 | { |
41 | (void)int_prio;/* interrupt priority not used */ | ||
42 | (void)unregister_callback; | 41 | (void)unregister_callback; |
43 | if (reg_prio <= timer_prio || cycles == 0) | 42 | if (reg_prio <= timer_prio || cycles == 0) |
44 | return false; | 43 | return false; |