diff options
Diffstat (limited to 'apps/plugins/xobox.c')
-rw-r--r-- | apps/plugins/xobox.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/xobox.c b/apps/plugins/xobox.c index 3ae9e22c1e..bf2d96e743 100644 --- a/apps/plugins/xobox.c +++ b/apps/plugins/xobox.c | |||
@@ -766,6 +766,14 @@ static int xobox_loop (void) | |||
766 | 766 | ||
767 | while (!quit) { | 767 | while (!quit) { |
768 | end = *rb->current_tick + (CYCLETIME * HZ) / 1000; | 768 | end = *rb->current_tick + (CYCLETIME * HZ) / 1000; |
769 | |||
770 | #ifdef HAS_BUTTON_HOLD | ||
771 | if (rb->button_hold()) { | ||
772 | pause = true; | ||
773 | rb->splash (HZ, true, "PAUSED"); | ||
774 | } | ||
775 | #endif | ||
776 | |||
769 | button = rb->button_get_w_tmo (true); | 777 | button = rb->button_get_w_tmo (true); |
770 | switch (button) { | 778 | switch (button) { |
771 | case UP: | 779 | case UP: |