diff options
Diffstat (limited to 'apps/plugins/xobox.c')
-rw-r--r-- | apps/plugins/xobox.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/xobox.c b/apps/plugins/xobox.c index 33ef4d04e9..0d1bdc4f72 100644 --- a/apps/plugins/xobox.c +++ b/apps/plugins/xobox.c | |||
@@ -19,6 +19,7 @@ | |||
19 | ****************************************************************************/ | 19 | ****************************************************************************/ |
20 | 20 | ||
21 | #include "plugin.h" | 21 | #include "plugin.h" |
22 | #include "mem_function_wrappers.h" | ||
22 | 23 | ||
23 | PLUGIN_HEADER | 24 | PLUGIN_HEADER |
24 | 25 | ||
@@ -204,6 +205,9 @@ static int difficulty = 75; /* Percentage of screen that needs to be filled | |||
204 | * in order to win the game */ | 205 | * in order to win the game */ |
205 | 206 | ||
206 | static struct plugin_api *rb; | 207 | static struct plugin_api *rb; |
208 | |||
209 | MEM_FUNCTION_WRAPPERS(rb); | ||
210 | |||
207 | static bool quit = false; | 211 | static bool quit = false; |
208 | 212 | ||
209 | static unsigned int board[BOARD_H][BOARD_W]; | 213 | static unsigned int board[BOARD_H][BOARD_W]; |
@@ -295,7 +299,6 @@ static inline void emptyStack (void) | |||
295 | 299 | ||
296 | /*********************** END OF STACK STUFF *********************/ | 300 | /*********************** END OF STACK STUFF *********************/ |
297 | 301 | ||
298 | |||
299 | /* calculate the new x coordinate of the ball according to angle and speed */ | 302 | /* calculate the new x coordinate of the ball according to angle and speed */ |
300 | static inline int get_newx (int x, int len, int deg) | 303 | static inline int get_newx (int x, int len, int deg) |
301 | { | 304 | { |