summaryrefslogtreecommitdiff
path: root/apps/plugins/xworld/sys.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/xworld/sys.h')
-rw-r--r--apps/plugins/xworld/sys.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/xworld/sys.h b/apps/plugins/xworld/sys.h
index ced1fd98cd..4b1ec9b13a 100644
--- a/apps/plugins/xworld/sys.h
+++ b/apps/plugins/xworld/sys.h
@@ -64,12 +64,14 @@ struct keymapping_t {
64 int down; 64 int down;
65 int left; 65 int left;
66 int right; 66 int right;
67#if (CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD) 67
68 /* These aren't conditional, even if they aren't used (this is to
69 * prevent headers and source from having varying defintions of
70 * this structure, leading to memory corruption */
68 int upleft; 71 int upleft;
69 int upright; 72 int upright;
70 int downleft; 73 int downleft;
71 int downright; 74 int downright;
72#endif
73}; 75};
74 76
75typedef void (*AudioCallback)(void *param, uint8_t *stream, int len); 77typedef void (*AudioCallback)(void *param, uint8_t *stream, int len);