summaryrefslogtreecommitdiffstats
path: root/apps/recorder/tetris.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/tetris.c')
-rw-r--r--apps/recorder/tetris.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/recorder/tetris.c b/apps/recorder/tetris.c
index 76d1940889..910374920f 100644
--- a/apps/recorder/tetris.c
+++ b/apps/recorder/tetris.c
@@ -27,6 +27,7 @@
#include "button.h"
#include "kernel.h"
#include <string.h>
+#include "menu.h"
#ifdef SIMULATOR
#include <stdio.h>
@@ -388,7 +389,7 @@ void init_tetris(void)
next_f = 0;
}
-void tetris(void)
+Menu tetris(void)
{
init_tetris();
@@ -400,6 +401,8 @@ void tetris(void)
next_f = t_rand(block_frames[next_b]);
new_block();
game_loop();
+
+ return MENU_OK;
}
#endif