diff options
Diffstat (limited to 'uisimulator/common')
-rw-r--r-- | uisimulator/common/stubs.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c index 9b628828ae..18aadf44d7 100644 --- a/uisimulator/common/stubs.c +++ b/uisimulator/common/stubs.c | |||
@@ -179,6 +179,17 @@ void mpeg_set_pitch(int pitch) | |||
179 | (void)pitch; | 179 | (void)pitch; |
180 | } | 180 | } |
181 | 181 | ||
182 | static int sleeptime; | ||
183 | void set_sleep_timer(int seconds) | ||
184 | { | ||
185 | sleeptime = seconds; | ||
186 | } | ||
187 | |||
188 | int get_sleep_timer(void) | ||
189 | { | ||
190 | return sleeptime; | ||
191 | } | ||
192 | |||
182 | #ifdef HAVE_LCD_CHARCELLS | 193 | #ifdef HAVE_LCD_CHARCELLS |
183 | void lcd_clearrect (int x, int y, int nx, int ny) | 194 | void lcd_clearrect (int x, int y, int nx, int ny) |
184 | { | 195 | { |